]> git.lizzy.rs Git - micro.git/log
micro.git
3 years agoUpdate tcell v2.0.9
Zachary Yedidia [Sun, 16 May 2021 20:35:47 +0000 (16:35 -0400)]
Update tcell

Fixes #2081

3 years agoMerge pull request #2076 from dmaluka/softwrap-improvement2
Zachary Yedidia [Wed, 12 May 2021 00:36:23 +0000 (20:36 -0400)]
Merge pull request #2076 from dmaluka/softwrap-improvement2

Softwrap improvements

3 years agoMerge
Zachary Yedidia [Wed, 21 Apr 2021 01:28:37 +0000 (21:28 -0400)]
Merge

3 years agoHandle SIGHUP properly
Zachary Yedidia [Wed, 21 Apr 2021 01:27:59 +0000 (21:27 -0400)]
Handle SIGHUP properly

Fixes #2085

Not the nicest solution but it will do for now.

3 years agoFix up X,Y values in BufView
Dmitry Maluka [Thu, 8 Apr 2021 23:48:58 +0000 (01:48 +0200)]
Fix up X,Y values in BufView

Let's return absolute X, Y values, rather than relative to the bufwindow.

3 years agoReplace BufWidth & BufHeight with BufView
Dmitry Maluka [Thu, 8 Apr 2021 21:32:00 +0000 (23:32 +0200)]
Replace BufWidth & BufHeight with BufView

BufView returns not only the buffer's width and height but also its
x,y position. It may be useful e.g. for checking if a mouse click was
on the actual buffer or ourside it, e.g. on the gutter.

3 years agoDon't highlight padding spaces in word wrapping
Dmitry Maluka [Wed, 17 Mar 2021 22:25:15 +0000 (23:25 +0100)]
Don't highlight padding spaces in word wrapping

Don't highlight space characters at the right edge which are used just
for padding after line break in word wrapping, i.e. don't correspond to
any real characters in the buffer.

This makes it look nicer e.g. when selecting word-wrapped text.

3 years agoImplement word wrapping
Dmitry Maluka [Wed, 17 Mar 2021 21:34:30 +0000 (22:34 +0100)]
Implement word wrapping

Fixes #264
Fixes #1644

3 years agoSimplify LocFromVisual implementation
Dmitry Maluka [Sun, 7 Mar 2021 13:56:00 +0000 (14:56 +0100)]
Simplify LocFromVisual implementation

Now that we have LocFromVLoc, we can radically simplify the code of LocFromVisual.
Less duplication, less potential bugs.

3 years agoImplement moving cursor up/down within a wrapped line
Dmitry Maluka [Sat, 6 Mar 2021 22:43:36 +0000 (23:43 +0100)]
Implement moving cursor up/down within a wrapped line

Modified behavior of CursorUp, CursorDown, CursorPageUp etc:
if softwrap is enabled, cursor moves by visual lines, not logical lines.

TODO: implement it also for Home and End keys: move cursor to the
visual start or end of a line. I haven't implemented it for now, because
I'm not sure what should be the behavior of StartOfTextToggle then
(considering that Home key is bound to StartOfTextToggle by default).

Fixes #1598

3 years agoAdd VLoc, VLocFromLoc and LocFromVLoc
Dmitry Maluka [Wed, 17 Mar 2021 20:16:52 +0000 (21:16 +0100)]
Add VLoc, VLocFromLoc and LocFromVLoc

VLoc allows any location in the buffer to be represented as a visual
location in the linewrapped buffer. In particular, this is useful
for implementing moving cursor up and down within a wrapped line.

3 years agoFix horizontal scrolling with a wide rune at the right edge of window
Dmitry Maluka [Wed, 3 Mar 2021 19:09:35 +0000 (20:09 +0100)]
Fix horizontal scrolling with a wide rune at the right edge of window

3 years agoFix displaying incomplete tab or wide rune at the right edge of window
Dmitry Maluka [Wed, 17 Mar 2021 19:13:25 +0000 (20:13 +0100)]
Fix displaying incomplete tab or wide rune at the right edge of window

Fix displaying tabs and wide runes which don't fit in the window.
Don't overwrite the vertical divider and the adjacent window.

- For tabs: display only as many of the tab's spaces as fit in the window.

- For wide runes: if a rune doesn't fit, don't display it in this line at all.
  If softwrap is on, display this rune in the next line.

Fixes #1979

3 years agoFix horizontal scrolling issue after toggling softwrap on/off
Dmitry Maluka [Wed, 3 Mar 2021 19:51:06 +0000 (20:51 +0100)]
Fix horizontal scrolling issue after toggling softwrap on/off

Fixes #645

3 years agoAdd BufWidth and BufHeight
Dmitry Maluka [Sat, 27 Feb 2021 16:37:15 +0000 (17:37 +0100)]
Add BufWidth and BufHeight

Fixes issue with the usage of a slightly incorrect buffer height value
(v.Height should be v.Height-1 if statusline is displayed).

Also, to avoid too many duplications, the code reorganized a little:
buffer display params (width, height, gutter offset and others) are
calculated in a single place.

3 years agoUpdate and rename perl6.yaml to raku.yaml (#1927)
Alex Tsantilis [Wed, 7 Apr 2021 20:21:19 +0000 (16:21 -0400)]
Update and rename perl6.yaml to raku.yaml (#1927)

The language has been renamed but still aims to support the old file extensions for a time.

3 years agoImprove patch file detection by adding a header rule. (#1942)
Laszlo Gombos [Wed, 7 Apr 2021 20:20:57 +0000 (16:20 -0400)]
Improve patch file detection by adding a header rule. (#1942)

3 years agoAdd buffer.WordAt (#2070)
Dmitry Maluka [Wed, 7 Apr 2021 20:20:39 +0000 (22:20 +0200)]
Add buffer.WordAt (#2070)

Add buffer.WordAt function returning the word around a given location
in the buffer. Useful for plugins.

3 years agoFix softwrap scrolling issues (#1981)
Dmitry Maluka [Wed, 7 Apr 2021 20:18:51 +0000 (22:18 +0200)]
Fix softwrap scrolling issues (#1981)

Softwrap implementation enhanced to fix various issues with scrolling,
centering, relocating etc.

The main idea is simple: work not with simple line numbers but
with (Line, Row) pairs, where Line is a line number in the buffer
and Row is a visual line (a row) number within this line.
The logic remains mostly the same, but simple arithmetic operations
on line numbers are replaced with corresponding operations on
(Line, Row) pairs.

Fixes #632, #1657

3 years agoMerge
Zachary Yedidia [Mon, 8 Mar 2021 18:11:08 +0000 (13:11 -0500)]
Merge

3 years agoUpdate runewidth version
Zachary Yedidia [Mon, 8 Mar 2021 18:10:52 +0000 (13:10 -0500)]
Update runewidth version

Fixes #1873

3 years agoUpdate snap badge
Zachary Yedidia [Sat, 6 Mar 2021 01:57:31 +0000 (20:57 -0500)]
Update snap badge

3 years agoMerge
Zachary Yedidia [Tue, 2 Mar 2021 22:16:54 +0000 (17:16 -0500)]
Merge

3 years agoFix noregex interactive replace
Zachary Yedidia [Tue, 2 Mar 2021 22:16:19 +0000 (17:16 -0500)]
Fix noregex interactive replace

Fixes #2052

3 years agoAdd ForceQuit action
Zachary Yedidia [Tue, 2 Mar 2021 02:55:49 +0000 (21:55 -0500)]
Add ForceQuit action

Closes #1039

3 years agoFix regressions in buffer settings initialization (#2035)
Dmitry Maluka [Mon, 22 Feb 2021 23:18:37 +0000 (00:18 +0100)]
Fix regressions in buffer settings initialization (#2035)

Fix regressions after ba98b55:

- Unable to override filetype autodetection by setting a specific filetype
  for specific files, i.e. this doesn't work:

    "*.h": {
        "filetype": "c++"
    },

- Unable to enable/disable syntax highlighting for specific files,
  i.e. this doesn't work:

    "*.c": {
        "syntax": false
    },

- "readonly" setting doesn't work (neither global nor per-filetype).

3 years agoRemove conf highlighting (too many conflicts)
Zachary Yedidia [Sat, 20 Feb 2021 19:27:58 +0000 (14:27 -0500)]
Remove conf highlighting (too many conflicts)

Fixes #2031

The conf highlighter interferes with many more specific highlighters and
doesn't provide much value on its own.

3 years agoFix #2030: warn for invalid pane type
Zachary Yedidia [Fri, 19 Feb 2021 00:02:23 +0000 (19:02 -0500)]
Fix #2030: warn for invalid pane type

3 years agoImprove C syntax highlighting (#2015)
relrelb [Thu, 18 Feb 2021 03:28:19 +0000 (05:28 +0200)]
Improve C syntax highlighting (#2015)

3 years agoAdd Gemini syntax file (#2016)
Nikolay Korotkiy [Thu, 18 Feb 2021 03:27:56 +0000 (06:27 +0300)]
Add Gemini syntax file (#2016)

3 years agoAdd .tsx support for Typescript syntax (#2021)
Sebastian Kolind Sørensen [Thu, 18 Feb 2021 03:27:45 +0000 (04:27 +0100)]
Add .tsx support for Typescript syntax (#2021)

* Update to look for tsx files also

* Shorten filename detection

3 years agodocs: update Arch Linux installation method (#2028)
ejose19 [Thu, 18 Feb 2021 03:27:13 +0000 (00:27 -0300)]
docs: update Arch Linux installation method (#2028)

3 years agoOnly initialize buffer settings once
Zachary Yedidia [Sun, 7 Feb 2021 18:14:40 +0000 (13:14 -0500)]
Only initialize buffer settings once

Ref #2009

3 years agogofmt
Zachary Yedidia [Thu, 28 Jan 2021 03:52:40 +0000 (22:52 -0500)]
gofmt

3 years agoMerge branch 'ilius-PR-find-on-type'
Zachary Yedidia [Wed, 27 Jan 2021 18:49:47 +0000 (13:49 -0500)]
Merge branch 'ilius-PR-find-on-type'

3 years agoRename to incsearch
Zachary Yedidia [Wed, 27 Jan 2021 18:49:38 +0000 (13:49 -0500)]
Rename to incsearch

3 years agoMerge branch 'PR-find-on-type' of https://github.com/ilius/micro into ilius-PR-find...
Zachary Yedidia [Wed, 27 Jan 2021 18:48:01 +0000 (13:48 -0500)]
Merge branch 'PR-find-on-type' of https://github.com/ilius/micro into ilius-PR-find-on-type

3 years agoFix some quality issues (#1914)
Siddhant N Trivedi [Sat, 9 Jan 2021 18:39:21 +0000 (00:09 +0530)]
Fix some quality issues (#1914)

* Add .deepsource.toml

* Fix unnecessary typecasting on `bytes.Buffer`

* Fix check for empty string

* Replace nested if block with else-if

* Replace nested if block with else-if

* Replaced string.Replace() with string.ReplaceAll where n<0

* Remove deepsource toml file

Signed-off-by: siddhant-deepsource <siddhant@deepsource.io>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
3 years agofix vue syntax highlight (#1982)
Peter Kramarik [Fri, 8 Jan 2021 22:06:49 +0000 (23:06 +0100)]
fix vue syntax highlight (#1982)

3 years agoAdded multiline strings to the Scala syntax highlighter (#1969)
Marduk Bolaños [Wed, 6 Jan 2021 00:59:28 +0000 (01:59 +0100)]
Added multiline strings to the Scala syntax highlighter (#1969)

In Scala multiline strings are constructed just like in Python

```
val message = """
This
is
a
message
"""

3 years agoFix non-working TryBindKey and UnbindKey (#1970)
Dmitry Maluka [Wed, 6 Jan 2021 00:37:49 +0000 (01:37 +0100)]
Fix non-working TryBindKey and UnbindKey (#1970)

Fixed regression: since merging keybindings branch, TryBindKey and
UnbindKey and accordingly "bind" and "unbind" commands don't work
(fail to unmarshal bindings.json).

This is just a quick fixup to make TryBindKey and UnbindKey work again.
They still work with "buffer" bindings only.

3 years agoadd settings option "findontype" to allow disabling search-on-type
Saeed Rasooli [Mon, 4 Jan 2021 06:59:45 +0000 (10:29 +0330)]
add settings option "findontype" to allow disabling search-on-type

3 years agoUpdate readme
Zachary Yedidia [Tue, 29 Dec 2020 19:13:54 +0000 (14:13 -0500)]
Update readme

3 years agoMerge branch 'a11ce-python-highlight-zero'
Zachary Yedidia [Sun, 27 Dec 2020 23:43:07 +0000 (18:43 -0500)]
Merge branch 'a11ce-python-highlight-zero'

3 years agoMerge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
Zachary Yedidia [Sun, 27 Dec 2020 23:42:53 +0000 (18:42 -0500)]
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce-python-highlight-zero

3 years agofix the missing break in JumpToMatchingBrace (#1960)
worldmaker [Sun, 27 Dec 2020 23:38:16 +0000 (07:38 +0800)]
fix the missing break in JumpToMatchingBrace (#1960)

In JumpToMatchingBrace, the loop should stop immediately after finding the matching bracket.
It causes multiple jumps in certain situations:
`(I  [  ]{  }) => (  I[  ]{  })`

3 years agoMerge
Zachary Yedidia [Sat, 26 Dec 2020 19:45:27 +0000 (14:45 -0500)]
Merge

3 years agoOnly use internal clipboard on error
Zachary Yedidia [Sat, 26 Dec 2020 19:45:22 +0000 (14:45 -0500)]
Only use internal clipboard on error

3 years agoDon't automatically disable readonly option (#1957)
Dmitry Maluka [Wed, 23 Dec 2020 20:21:20 +0000 (21:21 +0100)]
Don't automatically disable readonly option (#1957)

Fix the regression after 3b34a02: setting readonly option to true
in onBufferOpen lua callback doesn't work, since it is automatically
reset to false if write permission is not denied.

3 years agoFix potential file leaks (#1958)
Dmitry Maluka [Wed, 23 Dec 2020 20:21:01 +0000 (21:21 +0100)]
Fix potential file leaks (#1958)

3 years agoUpdate hlint format
Zachary Yedidia [Sun, 20 Dec 2020 21:53:18 +0000 (16:53 -0500)]
Update hlint format

3 years agoUpdate runtime
Zachary Yedidia [Sun, 20 Dec 2020 19:53:04 +0000 (14:53 -0500)]
Update runtime

3 years agoFix stat error detection
Zachary Yedidia [Sun, 20 Dec 2020 18:05:10 +0000 (13:05 -0500)]
Fix stat error detection

Fixes #1955

3 years agoAdd Dracula colorscheme to defaults
Zachary Yedidia [Sun, 20 Dec 2020 06:08:41 +0000 (01:08 -0500)]
Add Dracula colorscheme to defaults

See https://draculatheme.com/micro.

3 years agoDocument undocumented colorscheme groups (#1939)
Dmitry Maluka [Sun, 20 Dec 2020 05:35:57 +0000 (06:35 +0100)]
Document undocumented colorscheme groups (#1939)

3 years agoMerge
Zachary Yedidia [Fri, 18 Dec 2020 02:55:59 +0000 (21:55 -0500)]
Merge

3 years agoImprove file permission detection
Zachary Yedidia [Fri, 18 Dec 2020 02:54:18 +0000 (21:54 -0500)]
Improve file permission detection

Mark files as readonly automatically if write permission is denied.
Display errors when opening files (except for non-existence errors).

Fixes #1224

3 years agoRemove clipboard error message
Zachary Yedidia [Thu, 17 Dec 2020 02:35:07 +0000 (21:35 -0500)]
Remove clipboard error message

3 years agoHighlight 0 as a constant number in python3
a11ce [Tue, 15 Dec 2020 23:57:28 +0000 (18:57 -0500)]
Highlight 0 as a constant number in python3

3 years agoAdded a sentence to colors.md clarifying that the truecolor environment variable...
Alekhine51 [Wed, 9 Dec 2020 03:43:37 +0000 (22:43 -0500)]
Added a sentence to colors.md clarifying that the truecolor environment variable has to be created by the user. (#1928)

3 years agoMake more libraries available (#1917)
Carlos Henrique Guardão Gandarez [Sat, 21 Nov 2020 06:46:17 +0000 (03:46 -0300)]
Make more libraries available (#1917)

* Make more libraries available to plugin dvelopment

* Add Unzip function to util

3 years agoClear prompt before callback
Zachary Yedidia [Mon, 16 Nov 2020 19:07:22 +0000 (14:07 -0500)]
Clear prompt before callback

Ref #1913

3 years agoDisable fake cursor for Windows Terminal
Zachary Yedidia [Fri, 6 Nov 2020 18:43:40 +0000 (13:43 -0500)]
Disable fake cursor for Windows Terminal

Ref #1900

3 years agoFix internal string binding representation
Zachary Yedidia [Thu, 5 Nov 2020 20:52:25 +0000 (15:52 -0500)]
Fix internal string binding representation

3 years agoMerge
Zachary Yedidia [Thu, 5 Nov 2020 20:39:29 +0000 (15:39 -0500)]
Merge

3 years agoEnable ignorecase by default
Zachary Yedidia [Thu, 5 Nov 2020 20:39:05 +0000 (15:39 -0500)]
Enable ignorecase by default

Closes #1908

3 years agoFix buffer.RuneAt (#1895)
Dmitry Maluka [Tue, 20 Oct 2020 00:36:14 +0000 (02:36 +0200)]
Fix buffer.RuneAt (#1895)

Fix buffer.RuneAt returning the rune not at the given location (as the
documentation claims) but just before it.

3 years agoAdd tabbar.active color group (#1831)
Dmitry Maluka [Sun, 18 Oct 2020 00:53:08 +0000 (02:53 +0200)]
Add tabbar.active color group (#1831)

Added tabbar.active color group for displaying the name of the active
tab in the tabbar with different colors.

If tabbar.active is not defined in the colorscheme, the active tab name
is displayed with the same colors as inactive ones.

Ref #1646

3 years agoFix suggestions display (#1825)
Dmitry Maluka [Sun, 18 Oct 2020 00:48:39 +0000 (02:48 +0200)]
Fix suggestions display (#1825)

Fix the following bugs:

- If a split pane is not at the left edge of the screen, the statusline
with suggestions for it is displayed at wrong place.

- When keymenu is enabled, the statusline with suggestions is not
displayed at all.

3 years agoupdate lua.yaml (#1892)
XeroOl [Fri, 16 Oct 2020 05:44:48 +0000 (00:44 -0500)]
update lua.yaml (#1892)

added `break` as a keyword

3 years agoFix autosave not running by default
Zachary Yedidia [Fri, 9 Oct 2020 03:33:34 +0000 (23:33 -0400)]
Fix autosave not running by default

3 years agoUpdate runtime v2.0.8
Zachary Yedidia [Tue, 6 Oct 2020 21:39:20 +0000 (17:39 -0400)]
Update runtime

3 years agoMerge
Zachary Yedidia [Tue, 6 Oct 2020 21:32:09 +0000 (17:32 -0400)]
Merge

3 years agoUpdate tcell for alacritty and konsole
Zachary Yedidia [Tue, 6 Oct 2020 21:32:06 +0000 (17:32 -0400)]
Update tcell for alacritty and konsole

3 years ago:pencil2: : Added more Code tags (#1875)
ThatXliner [Tue, 6 Oct 2020 20:56:08 +0000 (13:56 -0700)]
:pencil2: : Added more Code tags (#1875)

I added more syntax highlighting for python comment code tags. Though this should be implemented for all languages...

3 years agoFixed help topic name (#1876)
Marduk Bolaños [Tue, 6 Oct 2020 20:55:47 +0000 (22:55 +0200)]
Fixed help topic name (#1876)

The help topic is called `commands` not `command`

3 years agoUpdate tcell to 2.0.5
Zachary Yedidia [Tue, 6 Oct 2020 20:54:46 +0000 (16:54 -0400)]
Update tcell to 2.0.5

3 years agoFix typo
Zachary Yedidia [Thu, 24 Sep 2020 01:54:25 +0000 (21:54 -0400)]
Fix typo

Closes #1869

3 years agoFix palette colors with tcell v2
Zachary Yedidia [Mon, 21 Sep 2020 05:21:59 +0000 (01:21 -0400)]
Fix palette colors with tcell v2

3 years agoFix Crystal syntax highlighting (#1844)
Ryan Westlund [Fri, 18 Sep 2020 03:20:28 +0000 (23:20 -0400)]
Fix Crystal syntax highlighting (#1844)

Don't highlight things that don't exist, add some missing keywords,
highlight true/false/nil as constants instead of keywords, and
highlight types as types instead of constants.

3 years agoFix some left-over details in C++ syntax highlighting (#1865)
MasFlam [Fri, 18 Sep 2020 03:19:41 +0000 (05:19 +0200)]
Fix some left-over details in C++ syntax highlighting (#1865)

- move type cast keywords into operators, since that's their syntactic function
- fix a single dot being matched as a constant.number
- add the missing caret operator

3 years agogroovy highlight (#1866)
MasFlam [Fri, 18 Sep 2020 03:19:32 +0000 (05:19 +0200)]
groovy highlight (#1866)

3 years agoFix quality issues (#1856)
Sourya Vatsyayan [Wed, 16 Sep 2020 04:08:01 +0000 (09:38 +0530)]
Fix quality issues (#1856)

* Add .deepsource.toml

* Remove unnecessary comparison with bool

* Remove unnecessary use of slice

* Replace multiple `append`s with one

* Remove unnecessary wrapping of function call

* Fix check for empty string

* Simplify error creation with `fmt.Errorf`

* Fix defers before error check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove untrappable `os.Kill` signal

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove empty else branch

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Add missing error check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Merge variable declaration and assignment

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove unnecessary `nil` check

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Revert changes to generated files

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
* Remove .deepsource.toml

Signed-off-by: sourya_deepsource <sourya@deepsource.io>
Co-authored-by: DeepSource Bot <bot@deepsource.io>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
3 years agocoffeescript syntax fix (#1861)
Ertu (Er2, Err) [Wed, 16 Sep 2020 04:06:40 +0000 (07:06 +0300)]
coffeescript syntax fix (#1861)

3 years agoEnable xterm automatically if screen init fails
Zachary Yedidia [Tue, 15 Sep 2020 05:11:59 +0000 (01:11 -0400)]
Enable xterm automatically if screen init fails

3 years agoUpdate tcell
Zachary Yedidia [Mon, 14 Sep 2020 15:30:20 +0000 (11:30 -0400)]
Update tcell

3 years agoMerge
Zachary Yedidia [Mon, 14 Sep 2020 05:14:31 +0000 (01:14 -0400)]
Merge

3 years agoUpdate tcell
Zachary Yedidia [Mon, 14 Sep 2020 05:14:28 +0000 (01:14 -0400)]
Update tcell

3 years agoOverall syntax highlighting improvements for C++ (#1858)
MasFlam [Mon, 14 Sep 2020 04:06:47 +0000 (06:06 +0200)]
Overall syntax highlighting improvements for C++ (#1858)

* Overall syntax highlighting improvements for C++
Most of these changes are based on the information on cppreference.com;
specifically from here: https://en.cppreference.com/w/cpp/keyword
- made `identifier` actually match any identifier
- add ~ as an operator
- add `static_assert` as a keyword (statement)
- add keywords that are interchangeable with operators as operators
- add keywords `sizeof`, `alignof` and `typeid` as operators
- add the quasi-keywords `asm`, `fortran` and `final`, `override`
- add the keyword `nullptr`
- add `_Pragma` as a preprocessor keyword
- add C++20 (concepts and modules) -related keywords
- add casting keywords
- add the keyword (specifier) `noexcept`
- remove `nothrow` (because it's not any more special than `vector` is)
- add `wchar_t` and `charXX_t` types
- add cv type keywords as `type.keyword`s
- move some fitting keywords into `type.keywords`
(mostly because they appear in/near type signatures etc.)
I didn't include coroutine-related language features,
primarily because there is no good source of information
about them other than the ISO C++ standard.

* Further changes to C++ syntax highlighting
- reverted the changes to the `identifier` regex, since most
colorschemes color it the same as `type`s and/or `statement`s
- fix the 2nd `type` regex (the word boundaries were in only two pipe-options)
- move `nullptr` back into `constant.bool`,
since it looks better in-editor this way (imo)
- add `?` as an operator
- add regexes that match all the correct number literals, and nothing else
(see https://en.cppreference.com/w/cpp/language/floating_literal)
(that is, if I haven't made a mistake)

3 years agoMerge
Zachary Yedidia [Mon, 14 Sep 2020 04:05:55 +0000 (00:05 -0400)]
Merge

3 years agoRemove test option
Zachary Yedidia [Mon, 14 Sep 2020 04:05:35 +0000 (00:05 -0400)]
Remove test option

Fix #1857

3 years agoDon't highlight parens in default theme
Zachary Yedidia [Mon, 14 Sep 2020 00:25:02 +0000 (20:25 -0400)]
Don't highlight parens in default theme

3 years agoUpdate keybinding docs v2.0.7
Zachary Yedidia [Sun, 6 Sep 2020 21:38:23 +0000 (17:38 -0400)]
Update keybinding docs

Also updates the pane type of `info` to `command` which is a more
descriptive name.

3 years agoUpdate tcell
Zachary Yedidia [Sun, 6 Sep 2020 15:39:48 +0000 (11:39 -0400)]
Update tcell

3 years agoReplace meta with alt automatically, update tcell
Zachary Yedidia [Sun, 6 Sep 2020 01:59:19 +0000 (21:59 -0400)]
Replace meta with alt automatically, update tcell

3 years agoUpdate to tcell v2
Zachary Yedidia [Sat, 5 Sep 2020 18:52:35 +0000 (14:52 -0400)]
Update to tcell v2

3 years agoNever backup closed buffers
Zachary Yedidia [Fri, 4 Sep 2020 17:36:23 +0000 (13:36 -0400)]
Never backup closed buffers

3 years agoMerge
Zachary Yedidia [Sun, 30 Aug 2020 19:46:14 +0000 (15:46 -0400)]
Merge

3 years agoProperly close unmodified buffers on sigterm
Zachary Yedidia [Sun, 30 Aug 2020 19:46:11 +0000 (15:46 -0400)]
Properly close unmodified buffers on sigterm

3 years agoUpdate tcell
Zachary Yedidia [Tue, 25 Aug 2020 19:21:18 +0000 (15:21 -0400)]
Update tcell