Commit Graph

71 Commits

Author SHA1 Message Date
Zachary Yedidia
19c7860f14 Update readme 2016-08-29 10:21:34 -04:00
Zachary Yedidia
00e385b871 Add show command to show the value of an option 2016-08-28 21:48:03 -04:00
Zachary Yedidia
56224c9184 Minor update to zenburn line number colors 2016-08-28 13:13:01 -04:00
Zachary Yedidia
40523871fa Update runtime 2016-08-28 13:09:37 -04:00
Zachary Yedidia
da7bc997ff Update docs and makefile 2016-08-27 22:00:56 -04:00
Zachary Yedidia
2de42bcf99 Make zenburn the default colorscheme
This commit also adds better support for constant.number in the
syntax files.
2016-08-27 17:10:26 -04:00
Zachary Yedidia
e0074c881c Minor update to zenburn 2016-08-27 16:13:28 -04:00
Zachary Yedidia
1a5e90c8a2 Add zenburn colorscheme
Closes #214
2016-08-27 16:09:30 -04:00
Zachary Yedidia
19bb9c7d50 Add tutorial help file 2016-08-26 14:38:20 -04:00
Zachary Yedidia
b4e470b6e2 Add support for making buffer local options in settings.json 2016-08-25 20:15:58 -04:00
Zachary Yedidia
e634b4e180 Fix bug with init.lua 2016-08-25 17:29:58 -04:00
Zachary Yedidia
acc03e9707 Update docs and add some comments 2016-08-25 17:24:13 -04:00
Zachary Yedidia
d6da2dfeca Pass the view into plugin callbacks 2016-08-25 16:35:03 -04:00
Zachary Yedidia
ec0833b09c Update plugins for local settings 2016-08-25 16:01:42 -04:00
Zachary Yedidia
8803d93872 Make all filetype names lowercase
This may be a breaking change if you are using a plugin that
checks the filetype. All the default plugins are now updated,
just make the filetype you were checking for previously all
lowercase.
2016-08-25 15:48:02 -04:00
Zachary Yedidia
60b84c7aba Minor fixes and update runtime 2016-08-25 15:47:16 -04:00
Zachary Yedidia
c340e6d48d Add gruvbox colorscheme 2016-08-21 14:40:39 -07:00
Zachary Yedidia
8f51fe84ae Update readme 2016-08-20 13:02:19 -07:00
Zachary Yedidia
f9cb99b35f Go plugin should disable tabstospaces if the file is go 2016-08-19 18:47:37 -07:00
Zachary Yedidia
d409c3a031 Fix minor issue with autoclose 2016-08-19 15:24:42 -07:00
Zachary Yedidia
62c359e5c1 Improve autoclose plugin auto tabbing 2016-08-19 15:14:34 -07:00
Zachary Yedidia
eb27d65d24 Update runtime 2016-08-18 11:38:19 -07:00
Zachary Yedidia
d17cc0f628 Add boolean option to actions to disable the lua callback 2016-08-17 14:16:27 -04:00
Zachary Yedidia
8a58506c72 Add much better autocompletion for commands 2016-08-17 13:49:37 -04:00
Zachary Yedidia
932370f597 Add current-line-number colors to all colorschemes 2016-08-17 12:49:11 -04:00
Zachary Yedidia
70c3d42f9c Update runtime.go 2016-08-17 11:59:38 -04:00
Zachary Yedidia
563484ffc9 Clean up go plugin 2016-08-16 13:52:42 -04:00
Zachary Yedidia
b42aba05a0 Fix recursive issue with go plugin 2016-08-16 13:46:33 -04:00
Zachary Yedidia
ed31d37e74 Change plugin callbacks to not only happen when a keybinding triggers the action 2016-08-16 11:43:36 -04:00
Zachary Yedidia
1b9ae5706e Minor update 2016-08-11 17:35:40 -04:00
Zachary Yedidia
5444ad50c4 Add gololang to pre installed syntax files 2016-07-30 16:01:46 -04:00
Zachary Yedidia
431eb12c96 Add tab command to open a file in a new tab 2016-07-24 16:29:03 -04:00
Zachary Yedidia
ddcebe4946 Fix issue with autoclose plugin 2016-07-24 16:19:41 -04:00
Zachary Yedidia
eba501e095 Highlight plist as XML
See #197
2016-07-15 17:29:36 -04:00
Zachary Yedidia
47940d3ffd Recompile runtime.go
Fixes #195
2016-07-14 15:39:15 -04:00
Zachary Yedidia
92c28d81b9 Add preAction plugin callbacks which can return false to cancel the action 2016-07-14 13:53:38 -04:00
Timon Böhler
ce5a867286 Changed Python syntax file to use Go's regex for matching string literals (which also works for empty strings) 2016-07-13 21:03:16 +02:00
Zachary Yedidia
abd36649c9 Update runtime and syntax file listing 2016-07-12 09:12:07 -04:00
Zachary Yedidia
3d3b76a31c Change default colorscheme to monokai
The monokai-tc colorscheme has been renamed to plain monokai and has
been made the default colorscheme. It is still a true color colorscheme,
but the automatic 256 color approximation is very good so it can be used
just fine in terminals which do not support true color.

If your terminal only supports 16 colors, used the 'default'
colorscheme.
2016-07-05 18:34:51 -04:00
Zachary Yedidia
cc9dd00948 Add string group to syntax files
This commit adds the string group (constant.string) to valid strings
in all the syntax files that support colorschemes (see the readme in
the runtime/syntax directory).

Fixes #178
2016-06-25 19:20:13 -04:00
Zachary Yedidia
91dd06fd9e Add new colorschemes to runtime 2016-06-23 08:39:26 -04:00
Zachary Yedidia
e6adc173f3 Fix issue with autoclose plugin 2016-06-22 21:03:40 -04:00
Zachary Yedidia
dbeb99bb6b Colorscheme group inheritance
With this commit, the syntax files can define groups that are subsets of
other groups, for example constant.string. This is so that colorschemes
can be more accurate, possibly highlighting strings differently than
numbers for example.

See #176. This doesn't fully close that issue yet because the string
group still needs to be added to all strings in the syntax files.
2016-06-22 18:51:36 -04:00
Zachary Yedidia
6665834cca Add autoclose plugin to handle autoclose for brackets, quotes etc...
The plugin adds an option `autoclose` to configure whether or not you
would like quotes, brackets etc... to be automatically closed. The
option is enabled by default.

Closes #176
2016-06-22 13:54:42 -04:00
Zachary Yedidia
77b6c2c486 Auto prefix for plugin functions
YOu no longer have to prefix all functions in a plugin with the plugin
name (linter_onSave). This will now be done automatically using lua's
setfenv. When passing a function as a callback to a editor function,
make sure to prefix the plugin name (linter.onExit, or go.goimports) so
that micro knows which plugin to call the function from.
2016-06-21 17:49:57 -04:00
Zachary Yedidia
d2277a376a Add support for job control
This commit adds support for job control (running processes
asynchronously from plugins) with the JobStart, JobSend, and JobStop
functions (copying neovim's job control).

This commit also makes the linter plugin work asynchronously, so the
editor won't be frozen while the linter checks your code for errors.
2016-06-15 11:19:00 -04:00
Zachary Yedidia
2c73e1c043 Add default bindings for PreviousTab and NextTab 2016-06-08 18:48:59 -04:00
Zachary Yedidia
40affa56c7 Create tab struct and reorganize tab bar 2016-06-08 13:26:50 -04:00
Zachary Yedidia
742370646f Add cursorline option 2016-06-01 10:05:17 -04:00
Zachary Yedidia
cd6389c49e Make CursorPageUp and CursorPageDown default
This commit also fixes the documentation for PageUp and PageDown.

See #149
2016-05-31 19:45:19 -04:00