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
5b52b8a60f
Support includes
2019-12-28 21:57:03 -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
c2e7fd34a7
Fix issues related to tabbar/infobar mouse events
...
Fixes #1440
2019-12-28 15:56:56 -05:00
Zachary Yedidia
bd0c172667
Improve mouse selection performance
2019-12-28 12:04:43 -05:00
Zachary Yedidia
629f20720a
Fix add runtime file for local plugins
2019-12-27 20:28:25 -05:00
Zachary Yedidia
b1efabaaed
Command binding fix
2019-12-27 00:43:45 -05:00
Zachary Yedidia
185d54d664
Search and replace fixes
2019-12-27 00:06:02 -05:00
Zachary Yedidia
6681387b47
Support for file reloading if changed externally
2019-12-26 17:59:23 -05:00
Zachary Yedidia
6ba66320f0
Don't forward tabbar mouse events to panes
...
Fixes #1435
2019-12-26 17:02:02 -05:00
Zachary Yedidia
ec2976b069
Scroll up as much as possible
...
Fixes #1434
2019-12-26 16:57:09 -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
7f7ad29671
Improve lua interface for statusline
2019-12-26 12:46:10 -05:00
Zachary Yedidia
a95dab078e
Minor edit to statusline format
...
Ref #1432
2019-12-26 12:25:42 -05:00
Zachary Yedidia
f8218e0648
Fix bottomline when softwrap enabled
2019-12-25 19:44:58 -05:00
Zachary Yedidia
e66d01e989
Some documentation
2019-12-25 19:37:51 -05:00
Zachary Yedidia
ff6f28e366
Autocompletion fix for infobuffer
2019-12-25 17:05:11 -05:00
Zachary Yedidia
4951f155ea
Support for more complex action chaining
2019-12-25 17:05:11 -05:00
Zachary Yedidia
94ff79e7b2
Lua prompt support and plugin improvements
2019-12-25 17:05:11 -05:00
Zachary Yedidia
3b306c1d3b
Better softwrap
2019-12-25 17:05:11 -05:00
Zachary Yedidia
432f1f3363
Minor relocate improvement
2019-12-25 17:05:11 -05:00
Zachary Yedidia
93734f5668
Fix highlighting issue
2019-12-25 17:05:11 -05:00
Zachary Yedidia
b527e4fe42
Reoragnize slightly
2019-12-25 17:05:11 -05:00
Zachary Yedidia
3f22501b1a
Improved save with sudo
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
c4d5d7c195
Better backup behavior
2019-12-25 17:05:11 -05:00
Zachary Yedidia
a9bb1f35da
Improve selection display
2019-12-25 17:05:11 -05:00
Zachary Yedidia
04e5acb1f8
Minor highlighting fixes
2019-12-25 17:05:11 -05:00
Zachary Yedidia
e42cf3663b
Backup support
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
88b8fc713d
Proper scrollbar location for hsplits
2019-12-25 17:05:11 -05:00
Zachary Yedidia
9127152d93
Fix goto issue
2019-12-25 17:05:11 -05:00
Zachary Yedidia
ba594abfad
Clearer status bar
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5e28ed4271
Add textfilter command
2019-12-25 17:05:11 -05:00
Zachary Yedidia
d29994ada9
Close file
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
b41fc10b8f
Update some docs
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5dfaaf8856
Update runtime
2019-12-25 17:05:11 -05:00
Zachary Yedidia
4dccfc095d
Add visual scroll bar
2019-12-25 17:05:11 -05:00
Zachary Yedidia
6f6b263d10
Add some plugin functions
2019-12-25 17:05:11 -05:00
Zachary Yedidia
b68461cf72
Terminal plugin callback support
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
d2f8adb8ff
Support multiactions
2019-12-25 17:05:11 -05:00
Zachary Yedidia
5b18edf865
Small improvement for replace command
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
3d40e91690
Add log and plugin list command
2019-12-25 17:05:11 -05:00
Zachary Yedidia
7217911c3a
Add macro and QuitAll support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
65cd6c4605
Fix minor matchbrace issue
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
Zachary Yedidia
ccb5904591
Add mkparents option
2019-12-25 17:05:11 -05:00
Zachary Yedidia
9eed8bc247
Remove local settings
2019-12-25 17:05:11 -05:00
Zachary Yedidia
763e635fea
Add literate plugin support
2019-12-25 17:05:11 -05:00
Zachary Yedidia
e18f6f832f
Add goto command
2019-12-25 17:05:10 -05:00
Zachary Yedidia
fc4811c1ab
Add comment plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
be136a4648
Full extensible linter support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
4027081e0e
Add linter plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
e7e0272968
Jobs and gutter messages for plugins
2019-12-25 17:05:10 -05:00
Zachary Yedidia
e3ae38e54a
Autoclose plugin support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
a47e1f0ca5
Allow any plugin to be enabled or disabled via settings
2019-12-25 17:05:10 -05:00
Zachary Yedidia
576036f251
Update ftoptions and statusline plugin configuration options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
23a76e1381
Add indentchar option
2019-12-25 17:05:10 -05:00
Zachary Yedidia
55e33badd0
Add readonly option
2019-12-25 17:05:10 -05:00
Zachary Yedidia
5bd54747b3
Fix history for YN prompt
2019-12-25 17:05:10 -05:00
Zachary Yedidia
bf15f5c585
Support filetype option as command line option
2019-12-25 17:05:10 -05:00
Zachary Yedidia
809b95d290
Add reset command and statusline format string options
2019-12-25 17:05:10 -05:00
Zachary Yedidia
8d85cae4c0
Add autocomplete
2019-12-25 17:05:10 -05:00
Zachary Yedidia
a5cf06026a
Fix infobar style
2019-12-25 17:05:10 -05:00
Zachary Yedidia
7cd5024e34
Small fixes
2019-12-25 17:05:10 -05:00
Zachary Yedidia
aa305c2676
Implement buffer opening at a location
2019-12-25 17:05:10 -05:00
Zachary Yedidia
aa774164a7
Fix relocate bug
2019-12-25 17:05:10 -05:00
Zachary Yedidia
47a129b70f
Unicode support improvement
2019-12-25 17:05:10 -05:00
Zachary Yedidia
c93d7a1b35
Add hidehelp support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
995e1dc704
Add tabmovement support
2019-12-25 17:05:10 -05:00
Zachary Yedidia
adfeaf52ba
Fix serialization
2019-12-25 17:05:10 -05:00
Zachary Yedidia
f5f4154d4c
Fix some search bugs
2019-12-25 17:05:10 -05:00
Zachary Yedidia
74ee256260
Revert "Some plugin helpers"
...
This reverts commit 75f9d7d9122f5b475c4ff323cca7cc068ea4e411.
2019-12-25 17:05:10 -05:00
Zachary Yedidia
d45f8b4d23
Some plugin helpers
2019-12-25 17:05:10 -05:00
Zachary Yedidia
3335f377a9
Some plugin callbacks
2019-12-25 17:05:10 -05:00
Zachary Yedidia
5ab6c9795f
Load plugins
2019-12-25 17:05:10 -05:00
Zachary Yedidia
15dff722b0
Remove plugin manager
2019-12-25 17:05:10 -05:00
Zachary Yedidia
a2b9acd153
Some plugin manager improvements
2019-12-25 17:05:10 -05:00
Zachary Yedidia
4497daaef1
Resolve versions in plugin manager
2019-12-25 17:05:10 -05:00
Zachary Yedidia
739dd28652
Fix test dependencies and travis build
2019-12-25 17:05:10 -05:00
Zachary Yedidia
0612af1590
Change project layout and use go.mod
2019-12-25 17:05:10 -05:00