Zachary Yedidia
cfcb2e4577
Update runtime
2020-10-06 17:39:20 -04:00
Zachary Yedidia
49786cf8c3
Fix palette colors with tcell v2
2020-09-21 01:21:59 -04:00
Sourya Vatsyayan
fc3dd9a62f
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>
2020-09-16 00:08:01 -04:00
Zachary Yedidia
fcfec28d79
Don't highlight parens in default theme
2020-09-13 20:25:02 -04:00
Zachary Yedidia
5044ccf6bb
Update keybinding docs
...
Also updates the pane type of `info` to `command` which is a more
descriptive name.
2020-09-06 17:38:23 -04:00
Zachary Yedidia
11104fd093
Update to tcell v2
2020-09-05 14:52:35 -04:00
Zachary Yedidia
352f57cf11
Enable registering raw events
...
Fixes #1821
2020-08-11 14:36:58 -04:00
Zachary Yedidia
c837a7d0b7
Ref #1819
2020-08-10 20:34:10 -04:00
Zachary Yedidia
015e7c7b83
Don't update internal plugins
...
Ref #1792
2020-07-22 15:40:40 -04:00
Ryan Westlund
1f27f51f9a
Add syntax support for Renpy ( #1789 )
2020-07-22 15:26:37 -04:00
franekjel
1a89d2095d
Support for multiple modifiers in colorschemes ( #1772 )
...
* Support for multiple modifiers (eg. "bold italic")
* Test for multiple modifiers (bold + italic + underline)
2020-07-14 17:58:03 -04:00
Zachary Yedidia
781a2dd826
Add flake8 linter, postinit and preinit
...
Closes #1768
2020-07-13 13:28:26 -04:00
Zachary Yedidia
a52dbb2142
Fix swift linting problem
2020-07-09 18:08:14 -04:00
Zachary Yedidia
41a27cc58a
Update linter to include eslint
...
Ref #1766
2020-07-09 18:04:40 -04:00
Zachary Yedidia
3d387732c4
Update linter documentation
...
Ref #1766
2020-07-09 17:58:42 -04:00
Zachary Yedidia
806525c3da
Improve comment plugin
...
When commenting a selection, the plugin won't just toggle each
line individually but will only uncomment the block if it is all
comments.
The comment plugin also now takes into account any number of spaces
between the comment character and the text. For example '//comment' will
be uncommented properly, as well as '// comment'.
Fixes #1758
2020-07-05 15:48:49 -04:00
Zachary Yedidia
aeb5563df0
Update runtime
2020-07-04 20:06:37 -04:00
Zachary Yedidia
f143418267
Add support for copy-paste via OSC 52
...
Ref #1754
2020-07-04 20:00:39 -04:00
Zachary Yedidia
977290d77b
Improve php string highlighting
...
Fixes #1753
2020-07-01 23:38:47 -04:00
Ryan Westlund
e946d9eddf
Improve Haskell syntax highlighting ( #1745 )
2020-06-26 17:53:43 -04:00
Zachary Yedidia
60846f549c
Update plugin documentation
2020-06-24 17:24:45 -04:00
Zachary Yedidia
5f62f550f3
Add more functions to customize status bar
...
Adds `status.lines`, `status.vcol`, `status.bytes`, `status.size`,
and exposes some functions from go-humanize to plugins.
Ref #1727
2020-06-24 17:19:42 -04:00
Zachary Yedidia
db1df05017
Support month and day names in crontab syntax
...
Ref #1739
2020-06-24 16:33:22 -04:00
Zachary Yedidia
05cbc310f3
Use boundaries in cron syntax rules
...
Fixes #1739
2020-06-24 16:00:56 -04:00
Zachary Yedidia
687e4bdc25
Don't delete user settings if a parse error occurs
2020-06-23 17:29:20 -04:00
Zachary Yedidia
a8332fd316
Improve backup system
...
This commit introduces several improvements to the backup system.
* Backups are made every 8 seconds for buffers that have been modified
since the last backup.
* The `permbackup` option allows users to specify that backups should
be kept permanently.
* `The backupdir` option allows users to store backups in a custom
directory.
Fixes #1641
Fixes #1536
Ref #1539 (removes possibility of race condition for backups)
2020-06-22 17:54:56 -04:00
Zachary Yedidia
4d13308624
Persist plugin options correctly
2020-06-20 20:07:33 -04:00
Zachary Yedidia
891b117a33
Bind Ctrl-/ (CtrlUnderscore) in comment plugin
2020-06-18 17:18:34 -04:00
Zachary Yedidia
b8ec7b320a
Add note for macOS terminals in docs
2020-06-12 14:20:26 -04:00
Ján Priner
b2261fc225
Add latex support in comment plugin ( #1725 )
2020-06-12 12:58:51 -04:00
Zachary Yedidia
660d345880
Don't apply cli options to settings.json
2020-06-08 22:19:15 -04:00
Zachary Yedidia
ae05ff1811
settings.json only contains modified settings
...
If a setting has a default value it will not be listed in settings.json.
2020-06-08 15:33:38 -04:00
Zachary Yedidia
140662f1ec
Verify that all settings have correct type
...
This prevents crashes that occur when the user has put the wrong
type for a setting manually in the settings.json file.
2020-06-07 17:31:16 -04:00
Zachary Yedidia
466889f540
Fix fileformat for newly created files
...
Fixes #1575
2020-06-06 15:56:13 -04:00
Zachary Yedidia
eeab114ed5
Add parsecursor option for file:line:col syntax
...
This option is disabled by default, and when enabled causes micro
to parse `:line:col` as a location for the cursor rather than
as part of the filename.
Closes #1650
Closes #1685
2020-05-29 14:55:24 -04:00
Colin Hughes
00edf0207f
Added hybrid line numbers ( #1690 )
...
* Added hybrid line numbers
* Changed rulerhybrid to relativeruler, modified documentation accordingly.
* Reverted go.mod and go.sum
I don't know how they got changed but they are good now.
Co-authored-by: Colin Hughes <semilin@pop-os.localdomain >
2020-05-28 22:24:09 -04:00
Zachary Yedidia
bfe68b1626
Allow divider customization with divchars option
...
Adds the `divchars` and `divreverse` options to customize divider
styles.
2020-05-21 14:35:54 -04:00
Zachary Yedidia
9a22d93ea2
Expose CharacterCount to plugins
2020-05-20 18:04:00 -04:00
Zachary Yedidia
d7ab44253f
Update tcell and support italics in colorschemes
...
Closes #1640
2020-05-17 12:48:34 -04:00
Zachary Yedidia
30395b1f67
Remove outdated c++ highlighter
...
Fixes #1652
2020-05-14 21:37:19 -04:00
Zachary Yedidia
eff89a98a7
Fix v2 import path for go mod
2020-05-04 10:16:15 -04:00
Zachary Yedidia
f59468642d
Update runtime
2020-04-10 17:27:57 -04:00
jsyedidia
a76bf02f5f
Add Haskell linter hlint to linter plugin ( #1610 )
2020-04-05 14:05:01 -04:00
Zachary Yedidia
1cf9537340
Fix python3 syntax file and make python3 default
...
The python3 syntax had "filename" instead of "filetype"
as the header. This commit also makes standard py extensions
use the python3 highlighting and requires .py2 or a python2
env to use python2 highlighting because python3 is the standard
python now.
Fixes #1592
2020-03-24 11:42:23 -04:00
allanderek
ee157f6503
Add elm as a default comment type in the comment plugin. ( #1586 )
2020-03-24 10:56:50 -04:00
Zachary Yedidia
943ea15fa3
Fix linter c++ entry
...
Fixes #1578
2020-03-14 15:40:05 -04:00
Zachary Yedidia
c51f84955e
Update runtime
2020-02-25 21:08:22 -05:00
Zachary Yedidia
d78fe81e21
line_array insert for eofnewline and make default
...
Makes the `eofnewline` option enabled by default.
Fixes #1525
2020-02-24 22:31:05 -05:00
Zachary Yedidia
b91242124c
Go lint the current directory of file
...
Closes #1520
2020-02-18 21:40:14 -05:00
Zachary Yedidia
087e7207f7
Add 'xterm' option
...
Ref #1489
2020-02-15 12:53:17 -05:00