Commit Graph

118 Commits

Author SHA1 Message Date
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
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
ddeed5e558 Minor update to docs 2016-08-17 14:19:59 -04: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
41065f0222 Add more docs for plugins and keybindings 2016-08-17 11:59:38 -04:00
Zachary Yedidia
33eb8546b1 Add more documentation 2016-08-17 11:59:37 -04:00
Zachary Yedidia
ce54413894 Add more explanation for colors.md 2016-08-17 11:59:37 -04:00
Zachary Yedidia
4a0c48587a Split help into multiple files and add help command 2016-08-17 11:59:37 -04:00
Zachary Yedidia
1e26aaed3c Merge pull request #209 from onodera-punpun/coloredline
Add colored current line number option
2016-08-16 22:03:07 -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
de9567322b Rebind Home and End to StartOfLine and EndOfLine
This commit changes the default keybindings for Home and End. It
also changes the InsertEnter action to InsertNewline (a better name)
although InsertEnter is still valid for backwards compatibility.

Closes #206
2016-08-16 10:55:04 -04:00
Camille Scholtz
e38e1c9dff Add colored current line number option 2016-08-15 22:35:40 +02:00
Philippe Charrière
ad3031c95c To only use the colorscheme groups 2016-07-30 20:20:28 +02:00
Philippe Charrière
073ea1caa5 Add Gololang support 2016-07-30 18:38:55 +02: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
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
Benjamin VAUDOUR
e5ed1b1983 Update of lilypond.micro
- full colorschemes-based
- accurate notes' detection
2016-07-12 07:35:43 +02:00
Benjamin VAUDOUR
7e16177291 Add lilypond syntax (http://lilypond.org/) 2016-07-11 12:14:07 +02:00
Zachary Yedidia
6489f4b6e8 Merge pull request #185 from zyedidia/splits
Splits
2016-07-09 11:41:53 -04:00
Zachary Yedidia
8f12c89de1 Add documentation for splits 2016-07-09 11:40:46 -04:00
Camille
18500b8f2f fish.micro: Add missing command, use constat.string 2016-07-06 19:35:51 +02: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
00309a2800 Merge pull request #180 from Calinou/monokai-colorscheme
Add a Monokai colorscheme
2016-06-23 08:29:24 -04:00
Zachary Yedidia
f1067d018c Merge pull request #181 from Calinou/atom-dark-colorscheme
Add Atom Dark colorscheme
2016-06-23 08:25:23 -04:00
Hugo Locurcio
95cc56d1fb Add GDScript syntax file 2016-06-23 12:08:03 +02:00
Hugo Locurcio
2cbcbdb8d0 Add Atom Dark colorscheme 2016-06-23 11:38:01 +02:00
Hugo Locurcio
ffcb6d601b Add a Monokai colorscheme 2016-06-23 10:01:48 +02: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
82c7994e68 Add support for tabs
Merge branch 'tabbar'

This branch adds support for having multiple tabs open, each viewing one
file. Use CtrlT to open a new tab empty tab and then CtrlO to open a
file in that tab. Use can also just open multiple files from the command
line: `micro file1.txt file2.txt ...`. Use Ctrl-] and Ctrl-\ to move
between the tabs, or simply click them with the mouse.
2016-06-08 18:49:08 -04:00
Zachary Yedidia
2c73e1c043 Add default bindings for PreviousTab and NextTab 2016-06-08 18:48:59 -04:00
Zachary Yedidia
a79e964cb6 Make tabs respond to mouse events 2016-06-08 17:47:48 -04:00