Zachary Yedidia
106ba48079
Add some docs for linter, comment, status
2020-02-07 11:32:12 -05:00
Zachary Yedidia
f6a9c482a6
Allow plugins to resize panes
2020-02-05 17:16:31 -05:00
Zachary Yedidia
6a1b8f4a4f
Add option to clean unused settings and other parts of config
2020-02-02 15:30:06 -05:00
Zachary Yedidia
dba8ef2fdd
Use namespaces for plugin options
2020-02-02 14:35:30 -05:00
Zachary Yedidia
b0624cb66e
Add support for plugin manager within micro
2020-02-02 14:20:39 -05:00
Zachary Yedidia
bcb1947a0a
Add plugin manager
2020-02-01 23:54:38 -05:00
Zachary Yedidia
b0b5d7b392
Add CurPane and CurTab functions for plugins
2020-02-01 12:20:08 -05:00
Zachary Yedidia
2598d8ad70
Update colorschemes and add new ones
...
This commit updates the colorschemes and adds some new ones:
* gotham (https://github.com/novln/micro-gotham-colors )
* monokai-dark (https://github.com/Theodus/micro-monokai-dark )
* one-dark (https://github.com/joseluisq/micro-one-dark )
* sunny-day (https://github.com/dwwmmn/micro-sunny-day )
2020-01-31 15:05:55 -05:00
Zachary Yedidia
f731e422ea
Improve lua interface
2020-01-31 14:21:27 -05:00
Zachary Yedidia
46c5a81b0d
Fix callback cancelation
2020-01-30 18:04:17 -05:00
Zachary Yedidia
59146cabb1
Add callback option to linter
2020-01-30 18:00:17 -05:00
Zachary Yedidia
35e3bddea0
Modify linter and add plugin cmd
2020-01-30 17:51:04 -05:00
Zachary Yedidia
016b8dcc4c
Do not add non-plugin directories in plug/
2020-01-28 23:49:51 -05:00
Zachary Yedidia
03228762d4
Don't call plugin if nil
2020-01-28 22:06:58 -05:00
Zachary Yedidia
cf41a587a3
Split the actions StartOfLine and StartOfText
...
The default keybindings now use StartOfText which moves the cursor
to the start of the text on the current line instead of the actual
start of the line (if the line begins with whitespace).
Fixes #1468
2020-01-25 13:02:13 -05:00
Zachary Yedidia
0abe427026
Make readonly and filetype local-only
2020-01-20 22:03:32 -05:00
Serge Voilokov
8d373cde6e
Add golang keywords ( #1455 )
...
* Add golang keywords
* Update runtime
2020-01-06 12:06:44 -05:00
Zachary Yedidia
eb2b546600
Merge
2020-01-02 12:43:52 -05:00
Zachary Yedidia
dc4da37908
Add "paste" option to enable aggressive pasting
...
Ref #1043
2020-01-02 12:42:39 -05:00
Zachary Yedidia
b557ed2221
Fix PluginAddRuntimeFile
2020-01-02 01:18:16 -05:00
Zachary Yedidia
e98be1a1e5
Update deps
2020-01-01 20:44:45 -05:00
Zachary Yedidia
abf07a8357
Update runtime
2019-12-31 22:42:35 -05:00
Zachary Yedidia
0301e3539e
Use upstream updated zyedidia tcell
2019-12-31 20:15:45 -05:00
Zachary Yedidia
6632ab0a77
Switch to gdamore/tcell
2019-12-31 17:53:16 -05:00
Zachary Yedidia
4b5be43e60
Create all parents of micro config automatically
...
Ref #1184
2019-12-31 16:48:45 -05:00
Zachary Yedidia
cf1f9fa007
Use MICRO_CONFIG_HOME before trying XDG_CONFIG_HOME
2019-12-28 23:10:51 -05:00
Zachary Yedidia
29a5cef559
Update default plugins slightly
2019-12-28 22:39:57 -05:00
Zachary Yedidia
bd83c6a8a9
Remove detect requirement and detect in jinja file
...
Ref #1415
2019-12-28 22:27:44 -05:00
Zachary Yedidia
a61616d79e
More efficient loading for default syntax files
...
This change introduces header files for syntax files. The header
files only contain the filetype and detection info and can be
parsed much faster than parsing a full yaml file. To determine
which filetype a file is, only scanning the headers is necessary
and afterwards only one yaml file needs to be parsed. Use the
make_headers.go file to generate the header files. Micro expects
that all default syntax files will have header files and that
custom user syntax files may or may not have them. Resolving
includes within syntax has not yet been implemented. This
optimization improves startup time.
Ref #1427
2019-12-28 21:26:22 -05:00
Zachary Yedidia
8663014bbe
Add support for syntax headers and update tcell
2019-12-28 18:53:51 -05:00
Zachary Yedidia
629f20720a
Fix add runtime file for local plugins
2019-12-27 20:28:25 -05:00
Zachary Yedidia
8570ff9a8c
Remove autosave option
...
With the new backup option, the autosave option is no longer useful.
Since it never really worked well in the first place, it has been
removed.
Closes #1420
2019-12-26 14:35:48 -05:00
Zachary Yedidia
a95dab078e
Minor edit to statusline format
...
Ref #1432
2019-12-26 12:25:42 -05:00
Zachary Yedidia
e66d01e989
Some documentation
2019-12-25 19:37:51 -05:00
Zachary Yedidia
94ff79e7b2
Lua prompt support and plugin improvements
2019-12-25 17:05:11 -05:00
Zachary Yedidia
fc706bc404
No backups for no name files
2019-12-25 17:05:11 -05:00
Zachary Yedidia
04e5acb1f8
Minor highlighting fixes
2019-12-25 17:05:11 -05:00
Zachary Yedidia
a86a6c464e
Start implementing backup system
2019-12-25 17:05:11 -05:00
Zachary Yedidia
ba594abfad
Clearer status bar
2019-12-25 17:05:11 -05:00
Zachary Yedidia
7f32d31108
Fix plugin names
2019-12-25 17:05:11 -05:00
Zachary Yedidia
aa66435353
Better plugin docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
e79869978b
Use plugin name defined in info and require it to be an identifier
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5dfaaf8856
Update runtime
2019-12-25 17:05:11 -05:00
Zachary Yedidia
199d65017f
Auto init settings if config doesn't exist
2019-12-25 17:05:11 -05:00
Zachary Yedidia
adaddba696
Add plugin info.json support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
26c545267d
Support column marking in linter
2019-12-25 17:05:11 -05:00
Zachary Yedidia
d1e713ce08
Add better matchbrace
2019-12-25 17:05:11 -05:00
Zachary Yedidia
f39a916e5f
Fix minor autosave race condition
2019-12-25 17:05:11 -05:00
Zachary Yedidia
c0293b5d0e
Add autosave option
2019-12-25 17:05:11 -05:00
Zachary Yedidia
bc6dd990e5
Improve gutter messages
2019-12-25 17:05:11 -05:00