Zachary Yedidia
5519f053ac
Merge branch 'autosu' of https://github.com/seitokaichou/micro into seitokaichou-autosu
2020-02-12 14:15:30 -05:00
Zachary Yedidia
12c286f9b1
Introduce IndentLine action
...
Closes #1476
2020-02-12 13:30:24 -05:00
Zachary Yedidia
7b5bc8fe37
Fix issue with global/local settings
2020-02-12 13:18:59 -05:00
Zachary Yedidia
bad78797bb
Clicking tabbar arrow scrolls and fix multicursor
...
Closes #1503
2020-02-12 13:05:15 -05:00
Zachary Yedidia
8224037080
Don't block when redraw channel becomes full
...
Fixes #1497
2020-02-11 20:03:32 -05:00
Zachary Yedidia
feaf3951d2
Update haskell syntax file
2020-02-11 19:13:36 -05:00
Zachary Yedidia
695d4c2b1b
Use filepath.Join more
2020-02-11 13:09:17 -05:00
Zachary Yedidia
8176e8c6f8
Improve one-dark colorscheme divider
2020-02-10 23:37:21 -05:00
Zachary Yedidia
e1e310a96e
Document all options
2020-02-10 15:07:00 -05:00
Zachary Yedidia
185b8de17b
Merge branch 'issue_1008' of https://github.com/sum01/micro into sum01-issue_1008
2020-02-10 14:59:31 -05:00
Zachary Yedidia
ecb9fd5a8a
Change diffgutter default to false
2020-02-10 00:30:13 -05:00
Zachary Yedidia
bdf9e6d3a4
Merge branch 'diff-gutter' of https://github.com/p-e-w/micro
2020-02-10 00:28:43 -05:00
Zachary Yedidia
b77980082c
Fix to allow readonly to be disabled
2020-02-08 19:37:37 -05:00
Zachary Yedidia
57c34e2248
More plugin docs and improve doc formatting
2020-02-08 18:31:06 -05:00
Zachary Yedidia
6514b77e0d
Enable autosave option
...
The autosave option is now specified as an integer, which denotes
the number of seconds to wait between saving the file. If the option
is 0, then autosaving is disabled. If the option is given by the user
as a boolean, it will be converted to 8 if true, and 0 if false.
Fixes #1479
2020-02-08 16:53:08 -05:00
Zachary Yedidia
8a907956d1
Use actual lua functions for callbacks instead of strings
2020-02-08 15:49:41 -05:00
Philipp Emanuel Weidmann
de33eac058
Add diff gutter
2020-02-08 13:26:24 +05:30
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