Zachary Yedidia
6f949fe985
Merge
2021-03-08 13:11:08 -05:00
Zachary Yedidia
2d5fc15990
Update runewidth version
...
Fixes #1873
2021-03-08 13:10:52 -05:00
Zachary Yedidia
3c00d20ccc
Update snap badge
2021-03-05 20:57:31 -05:00
Zachary Yedidia
ae114a766c
Merge
2021-03-02 17:16:54 -05:00
Zachary Yedidia
6761bdf8aa
Fix noregex interactive replace
...
Fixes #2052
2021-03-02 17:16:19 -05:00
Zachary Yedidia
c014af9280
Add ForceQuit action
...
Closes #1039
2021-03-01 21:55:49 -05:00
Dmitry Maluka
de8f4bf72f
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).
2021-02-22 18:18:37 -05:00
Zachary Yedidia
975e78d9c0
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.
2021-02-20 14:27:58 -05:00
Zachary Yedidia
8aadf6af65
Fix #2030 : warn for invalid pane type
2021-02-18 19:02:23 -05:00
relrelb
6c694a1db4
Improve C syntax highlighting ( #2015 )
2021-02-17 22:28:19 -05:00
Nikolay Korotkiy
261eb41912
Add Gemini syntax file ( #2016 )
2021-02-17 22:27:56 -05:00
Sebastian Kolind Sørensen
d7abc8f100
Add .tsx support for Typescript syntax ( #2021 )
...
* Update to look for tsx files also
* Shorten filename detection
2021-02-17 22:27:45 -05:00
ejose19
a36ab0188a
docs: update Arch Linux installation method ( #2028 )
2021-02-17 22:27:13 -05:00
Zachary Yedidia
ba98b558d9
Only initialize buffer settings once
...
Ref #2009
2021-02-07 13:14:40 -05:00
Zachary Yedidia
c21b85929f
gofmt
2021-01-27 22:52:40 -05:00
Zachary Yedidia
c1e0e1d3b6
Merge branch 'ilius-PR-find-on-type'
2021-01-27 13:49:47 -05:00
Zachary Yedidia
c3a17a71be
Rename to incsearch
2021-01-27 13:49:38 -05:00
Zachary Yedidia
120cd02b30
Merge branch 'PR-find-on-type' of https://github.com/ilius/micro into ilius-PR-find-on-type
2021-01-27 13:48:01 -05:00
Siddhant N Trivedi
cf35b8021c
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>
2021-01-09 13:39:21 -05:00
Peter Kramarik
fcc2fea684
fix vue syntax highlight ( #1982 )
2021-01-08 17:06:49 -05:00
Marduk Bolaños
84f7248943
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
"""
2021-01-05 19:59:28 -05:00
Dmitry Maluka
e80f899480
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.
2021-01-05 19:37:49 -05:00
Saeed Rasooli
dd37ad5ce4
add settings option "findontype" to allow disabling search-on-type
2021-01-04 10:30:47 +03:30
Zachary Yedidia
c2b58fe861
Update readme
2020-12-29 14:13:54 -05:00
Zachary Yedidia
ef5b21c861
Merge branch 'a11ce-python-highlight-zero'
2020-12-27 18:43:07 -05:00
Zachary Yedidia
54c23cae72
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce-python-highlight-zero
2020-12-27 18:42:53 -05:00
worldmaker
06a5f1a62d
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[ ]{ })`
2020-12-27 18:38:16 -05:00
Zachary Yedidia
3321e844fc
Merge
2020-12-26 14:45:27 -05:00
Zachary Yedidia
b5ce418201
Only use internal clipboard on error
2020-12-26 14:45:22 -05:00
Dmitry Maluka
57a3927f02
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.
2020-12-23 15:21:20 -05:00
Dmitry Maluka
e4f7f80862
Fix potential file leaks ( #1958 )
2020-12-23 15:21:01 -05:00
Zachary Yedidia
2fbeb40bf0
Update hlint format
2020-12-20 16:53:18 -05:00
Zachary Yedidia
ecde9a53d7
Update runtime
2020-12-20 14:53:04 -05:00
Zachary Yedidia
299ba2fe97
Fix stat error detection
...
Fixes #1955
2020-12-20 13:05:10 -05:00
Zachary Yedidia
6b7c04b421
Add Dracula colorscheme to defaults
...
See https://draculatheme.com/micro .
2020-12-20 01:08:41 -05:00
Dmitry Maluka
83b3efc9de
Document undocumented colorscheme groups ( #1939 )
2020-12-20 00:35:57 -05:00
Zachary Yedidia
c13acf6b19
Merge
2020-12-17 21:55:59 -05:00
Zachary Yedidia
3b34a021e3
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
2020-12-17 21:54:18 -05:00
Zachary Yedidia
4c21808c6c
Remove clipboard error message
2020-12-16 21:35:07 -05:00
a11ce
1e5f8c020e
Highlight 0 as a constant number in python3
2020-12-15 18:57:28 -05:00
Alekhine51
3fb5a7053f
Added a sentence to colors.md clarifying that the truecolor environment variable has to be created by the user. ( #1928 )
2020-12-08 22:43:37 -05:00
Carlos Henrique Guardão Gandarez
7a5f7e443a
Make more libraries available ( #1917 )
...
* Make more libraries available to plugin dvelopment
* Add Unzip function to util
2020-11-21 01:46:17 -05:00
Zachary Yedidia
7df04a58eb
Clear prompt before callback
...
Ref #1913
2020-11-16 14:07:22 -05:00
Marduk Bolaños
3d683b27f7
.sbt files also contain Scala code
...
The Scala Build Tool sbt uses Scala as configuration language.
2020-11-11 09:58:10 +01:00
Zachary Yedidia
f3b21362f3
Disable fake cursor for Windows Terminal
...
Ref #1900
2020-11-06 13:45:34 -05:00
Zachary Yedidia
95fea064b0
Fix internal string binding representation
2020-11-05 15:52:25 -05:00
Zachary Yedidia
5d230754a8
Merge
2020-11-05 15:39:29 -05:00
Zachary Yedidia
19067a9bf0
Enable ignorecase by default
...
Closes #1908
2020-11-05 15:39:05 -05:00
Dmitry Maluka
298fa40f90
Fix buffer.RuneAt ( #1895 )
...
Fix buffer.RuneAt returning the rune not at the given location (as the
documentation claims) but just before it.
2020-10-19 20:36:14 -04:00
Dmitry Maluka
23162f7a34
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
2020-10-17 20:53:08 -04:00