Commit graph

505 commits

Author SHA1 Message Date
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
95c0ffcc9a Merge pull request #191 from bvaudour/patch-1
Add lilypond syntax (http://lilypond.org/)
2016-07-12 09:10:36 -04:00
Benjamin VAUDOUR
e5ed1b1983 Update of lilypond.micro
- full colorschemes-based
- accurate notes' detection
2016-07-12 07:35:43 +02:00
Zachary Yedidia
7ae0310863 Fix draw ordering 2016-07-11 19:10:29 -04:00
Zachary Yedidia
a15c6ede81 Rewrite view display function 2016-07-11 15:35:50 -04:00
Benjamin VAUDOUR
7e16177291 Add lilypond syntax (http://lilypond.org/) 2016-07-11 12:14:07 +02:00
Zachary Yedidia
f2ec82520a Separate bindings and actions into two files 2016-07-10 13:30:28 -04:00
Zachary Yedidia
50e22dafc4 Add some lines back 2016-07-10 13:27:28 -04:00
Zachary Yedidia
8c0983a36c Add some more comments 2016-07-10 13:26:24 -04: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
Zachary Yedidia
271b127f79 Fix small glitch with splits 2016-07-09 11:29:22 -04:00
Zachary Yedidia
63ed39c55e Merge pull request #190 from onodera-punpun/patch-1
fish.micro: Add missing command, use constant.string
2016-07-06 13:42:49 -04:00
Camille
18500b8f2f fish.micro: Add missing command, use constat.string 2016-07-06 19:35:51 +02:00
Zachary Yedidia
f01dc89171 Fix extra line being added with odd heights 2016-07-05 18:46:50 -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
3089967546 Add binding to move to next split (default binding: CtrlW) 2016-07-02 17:41:23 -04:00
Zachary Yedidia
4a15a1d3c8 Add the ability to close splits and change splits using the mouse
This commits adds split navigation with the mouse and the ability to
close splits. You can now also open a file directly with the hsplit
and vsplit commands.
2016-07-02 17:41:23 -04:00
Zachary Yedidia
d2b11c2f98 Fix tabbar offset with splits 2016-07-02 17:41:23 -04:00
Zachary Yedidia
d419e65a03 Make sure splits can't draw in other splits 2016-07-02 17:41:23 -04:00
Zachary Yedidia
bcbef1c633 Add horizontal splits 2016-07-02 17:41:23 -04:00
Zachary Yedidia
7e0286b621 Fix redrawing for splits 2016-07-02 17:41:23 -04:00
Zachary Yedidia
9b9ae89e59 Quick first try at vertical splits 2016-07-02 17:41:23 -04:00
Zachary Yedidia
cb238db307 Merge pull request #189 from onodera-punpun/sudosave
bindings:go: Only display saved message if actually saved
2016-06-30 11:08:12 -04:00
Camille Scholtz
151df0d2aa bindings:go: Only display saved message if actually saved 2016-06-30 16:49:32 +02:00
Zachary Yedidia
2002cb6579 Wrap around when using NextTab and PreviousTab
Fixes #188
2016-06-28 21:29:46 -04:00
Zachary Yedidia
aa8a329745 Fix JumpLine range
Fixes #187
2016-06-28 21:26:19 -04:00
Zachary Yedidia
22257df9a4 Fix replace cursor relocation 2016-06-28 15:06:42 -04:00
Zachary Yedidia
1f5908f9ae Merge pull request #186 from onodera-punpun/replaced
command.go: Add some feedback to replace
2016-06-28 15:03:59 -04:00
Camille Scholtz
b0ef071e94 command.go: Simplify and prettify replace feedback 2016-06-28 19:55:29 +02:00
Camille Scholtz
24b01776b3 command.go: Add some feedback to replace 2016-06-28 19:49:26 +02: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
c51c185be6 Add feedback to save with sudo
Fixes #183
2016-06-25 13:42:21 -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
Zachary Yedidia
36e3039cfc Merge pull request #182 from Calinou/gdscript-syntax
Add GDScript syntax file
2016-06-23 08:25:11 -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
5c68a67e52 Update README.md 2016-06-22 13:59:07 -04:00
Zachary Yedidia
c0b59d2992 Update README.md 2016-06-22 13:58:07 -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
47efea6501 Add onRune(r string) callback for plugins
Define this function in a plugin (which takes one argument) to be
notified whenever a character is typed, and the character will be passed
as the argument.
2016-06-21 17:57:25 -04:00
Zachary Yedidia
d32d373bff Only copy messages if there is a mouse left click (not any mouse event) 2016-06-21 17:54:36 -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
c1dadbd0c7 Fix mouse controls
Fixes #173
2016-06-19 09:02:47 -04:00