therainingmonkey
31cd4b5795
Update Lua syntax ( #893 )
...
* Edited Lua syntax ('hash' is not a comment in Lua).
* Edited Lua syntax - hash (#) is a symbol in Lua (the length operator).
2017-10-21 00:10:46 -04:00
Zachary Yedidia
19ee4b281e
Fix comment regex for shell filetype
...
Fixes #895
2017-10-20 23:57:49 -04:00
Zachary Yedidia
98d8bfa879
Merge branch 'master' into ft
2017-10-17 00:03:57 -04:00
Zachary Yedidia
e071209add
Merge pull request #890 from Jipok/patch-1
...
Use spaces for nim
2017-10-15 15:32:50 -04:00
Zachary Yedidia
74e79dc8f2
Merge pull request #880 from onodera-punpun/consistent
...
Alphabetically order options, format *.md files
2017-10-15 15:32:35 -04:00
Jipok
ade0e9dd39
Use spaces for nim
...
From manual:
Nim's standard grammar describes an indentation sensitive language. This means that all the control structures are recognized by indentation. Indentation consists only of spaces; tabulators are not allowed.
2017-10-14 20:21:41 +05:00
Camille Scholtz
f2006f592a
alphabetically order linters, add shell linter
2017-10-11 17:47:23 +02:00
Camille Scholtz
5e66489836
Add fish to ftoptions
2017-10-11 17:02:37 +02:00
Camille Scholtz
9daa05d696
Use more consisten syntax in md files, format tp 80 collumns, fix some typos
2017-10-11 15:16:53 +02:00
Camille Scholtz
d76704839a
alphabetically order options
2017-10-11 14:43:38 +02:00
Camille Scholtz
329669ce79
Make settings capitalization consistent
2017-10-11 14:22:23 +02:00
Zachary Yedidia
278aa6b050
Add docs for binding esc sequences
2017-10-06 20:42:58 -04:00
Zachary Yedidia
a0f3ec805d
Merge
2017-10-06 11:00:31 -04:00
Zachary Yedidia
ea6012922f
Add paren highlighting for js and update runtime
2017-10-06 10:59:43 -04:00
Nicolas
9703d4f52f
support es files and fix parenthesis highlighting
...
* This allows `micro` to use javascript syntax highlighting on `.es`, `.es6|7|8` files
* Fix parenthesis highlighting with @is73 regex, see #864
2017-10-06 16:29:49 +02:00
andrea
3e0a1b4517
a couple more keywords to scala syntax
2017-10-04 10:17:50 +01:00
Zachary Yedidia
ac3de065d9
Merge pull request #850 from nitsakh/feat-809
...
Implementation of Paragraph Feature
2017-10-03 23:49:57 -04:00
Zachary Yedidia
299416062f
Merge
2017-10-02 23:44:58 -04:00
Zachary Yedidia
8b8fffb98d
Add nano-style key menu option
...
Use the `keymenu` option (default `off`) to enable. ToggleKeyMenu is
also bound to `Alt-g` and this info is now displayed in the status line.
Closes #829
2017-10-02 23:44:11 -04:00
Nitish Sakhawalkar
ec221c0bc4
Implementation of Paragraph Feature
...
Changes to support moving cursor to next and previous paragraph
and updates to corresponding documentation
2017-10-02 19:54:57 -07:00
sotpapathe
c40c79427a
Added initial support for Octave/Matlab syntax highlighting
2017-10-02 14:08:22 +04:00
sotpapathe
8a4f2193d8
Added automatic tabs to spaces for yaml and updated readme
2017-10-02 13:36:28 +04:00
Pete Aykroyd
d067de8150
grammar nit
2017-10-01 22:33:03 -04:00
Zachary Yedidia
f4e94d6d34
Add sucmd to customize "sudo" command
...
Fixes #833
2017-10-01 21:55:43 -04:00
Zachary Yedidia
9db181037f
Merge
2017-09-29 13:46:54 -04:00
Zachary Yedidia
861ea5aabc
Update readme
2017-09-29 13:46:51 -04:00
andrea
ff9a8a1247
few more keywords for js syntax
2017-09-29 16:20:38 +01:00
MrSndmn
54c02f4781
Perl syntax highlighting fix ( #818 )
...
* Perl syntax highlighting fix
* Useless escapes removed
2017-09-24 11:59:57 -04:00
Zachary Yedidia
fb980bb695
Add option for very accurate dirty flag
...
Set the `fastdirty` option flag to off if you really want accurate
reporting on whether the buffer is modified. This is more resource
intensive but it can be useful for people who don't mind.
Closes #787
Closes #467
2017-09-17 23:33:18 -04:00
Zachary Yedidia
33cb39d318
Use type.keyword instead of keyword
...
Some syntax files used keyword from an old version when they should have
been using type.keyword.
Fixes #811
2017-09-13 18:00:47 -04:00
Zachary Yedidia
612658d9c4
Add documentation for new lua functions
2017-09-11 12:23:19 -04:00
Zachary Yedidia
90977fb4e1
Add mouse option to allow disabling mouse support
2017-09-06 15:50:50 -04:00
Zachary Yedidia
404e5d206d
Fix autoclose plugin cursor position
2017-09-05 18:36:42 -04:00
Tommy
c4d8b9e7fb
add missing new lua command WorkingDirectory to docs ( #797 )
...
* add missing new lua command WorkingDirectory to docs
* added messenger.AddLog to doc and changed lua commands from . to :
2017-09-02 10:30:19 -04:00
Zachary Yedidia
f88b4a6d57
Merge
2017-08-24 13:15:01 -04:00
Zachary Yedidia
9628b73525
Add support for switching between crlf and lf
...
Dos and Unix line endings are now both supported (previously on unix
line endings were supported) and can be accessed via the `fileformat`
option. The file format will be automatically detected and displayed in
the statusline but can be overriden.
Possible values for the `fileformat` option are `dos` and `unix`.
Closes #443
Closes #755
2017-08-24 13:13:14 -04:00
Zachary Yedidia
d70a48bd13
Improve julia syntax file
...
Ref #781
2017-08-14 15:18:48 -04:00
Zachary Yedidia
660f1e181a
Add julia rules
...
Fixes #781
2017-08-14 11:59:29 -04:00
Zachary Yedidia
773284369b
Improve yaml string highlighting
...
Fixes #783
2017-08-14 11:28:10 -04:00
Andrey Yurtaev
e7facd74ba
Added Twilight color scheme
2017-08-13 14:47:43 +03:00
Zachary Yedidia
fcb09556b1
Merge pull request #776 from tommyshem/syntax-checker
...
make syntax_checker work with error messages
2017-08-09 11:51:09 -04:00
Zachary Yedidia
69c6d8a099
Fix some lint problems
2017-08-08 11:30:09 -04:00
tommy
ebb0976866
make syntax_checker work with error messages
2017-08-06 08:25:19 +01:00
adrian5
c1584dd72f
Add consistent spacing to help file
2017-07-16 02:00:30 +02:00
Zachary Yedidia
994d1acbfc
Merge pull request #720 from bvaudour/master
...
Add twig syntax (https://twig.sensiolabs.org/ )
2017-07-12 16:10:48 -04:00
Elias Aebi
4cad06c7b3
improved highlighting for Vala types
2017-07-11 14:40:38 +02:00
DanielPower
75329830f9
Remove new
keyword from C syntax
...
Fixes #725
2017-07-10 00:36:49 -02:30
bvaudour
0ffae1896b
Add twig syntax ( https://twig.sensiolabs.org/ )
2017-06-30 12:31:18 +02:00
Zachary Yedidia
fc9ddaf941
Merge pull request #679 from alialaee/master
...
Find and replace one at a time
2017-06-18 12:13:43 -04:00
Zachary Yedidia
1f6a9cfa46
Merge pull request #700 from Calinou/darcula-tc-colorscheme
...
Add a Darcula colorscheme
2017-06-18 12:12:21 -04:00
Hugo Locurcio
1a18fad1a4
Add a Darcula colorscheme
...
It is ideally used in truecolor mode, but it also approximates well to
a 256-color palette.
2017-06-18 17:59:03 +02:00
Zachary Yedidia
5ec08d0a29
Use correct separator on windows
...
Ref #673
2017-06-18 09:56:36 -04:00
Zachary Yedidia
397361f23d
Add multiple cursor docs + improve docs in general
2017-06-17 17:36:27 -04:00
Zachary Yedidia
21840d3ffe
Make cursor movement automatic on insert + remove
...
This changes the behavior of cursor movement so that all cursors are
adjusted when a change is made to the buffer. Cursors don't have to be
manually moved after calling Insert or Remove, those functions will move
the cursor properly on their own.
This should fix issues 1-3 mentioned in the multiple cursors discussion.
Ref #5
2017-06-15 18:52:51 -04:00
Zachary Yedidia
a1f6dd6f4f
Update default colorscheme
2017-06-10 18:52:08 -04:00
Tommy
47cdfb3de0
added crontab highlighting. ( #689 )
...
* added crontab highlighting.
* added day and month keywords. added label keywords.
2017-06-10 15:24:46 -04:00
tommy
462f73f695
Correct the comment from # to ! as point out in the gitter chat.
2017-06-10 11:33:50 +01:00
Zachary Yedidia
cf92f91e1e
Improve solarized-tc colorscheme
2017-06-07 12:41:20 -04:00
tommy
51d73c6618
Added missing defualt key bindings and changed micro section to same format. Moved tab key bindings to its own heading.
2017-06-01 06:35:08 +01:00
Zachary Yedidia
be8124154b
Re-add literate supportg
2017-05-27 17:16:21 -04:00
Zachary Yedidia
f086cc8713
Temporarily remove literate folder
2017-05-27 17:14:22 -04:00
Zachary Yedidia
624daabc02
Add support for zyedidia/Literate
2017-05-27 16:55:59 -04:00
tommy
112c731c7a
Added kotlin highlighting and fixed swift line comment todo not highlighting.
2017-05-26 01:59:51 +01:00
ali
480a220fda
Change replace command default behaviour to confirm replacement for each occurrences
2017-05-26 03:43:57 +04:30
Zachary Yedidia
285503d009
Merge
2017-05-21 10:19:13 -04:00
Zachary Yedidia
f364965ac0
Create ftoptions option to disable auto settings
...
Closes #662
2017-05-19 18:17:38 -04:00
Benjamin Reynolds
2899e47591
Cleanup from merge conflicts in syntax/README
2017-05-19 12:33:41 -05:00
tommy
20ad87611f
added swift linting to linux
2017-05-08 17:14:33 +01:00
Nichlas Severinsen
2aec2c13b5
Added ShiftHome + ShiftEnd to keybindings.md documentation
2017-05-07 13:19:58 +02:00
Tommy
3eb0d71bd3
Updated swift syntax yaml file as missing keywords and some highlighting not working correctly. ( #644 )
...
* Updated the keywords and micros
* updated keywords and interpolation and unicode added to string
* add test swift file
* Delete swift-test.swift
delete swift test file
2017-05-05 15:14:50 -04:00
Zachary Yedidia
18f9b6f34e
Add tabmovement option
...
This option makes micro treat spaces at the beginning of lines as if
they are tabs. This option only does anything if tabstospaces is already
on. E.g. micro will move over 4 spaces at once when at the start of a
line.
Closes #616
2017-05-05 12:04:18 -04:00
Zachary Yedidia
a6ee75a9cf
Add SaveAll command and display + for modified tabs
...
Closes #651
2017-05-05 11:05:23 -04:00
Zachary Yedidia
2a3ce12bd4
Add termtitle option and move autoclose utf8 code
2017-04-29 16:01:09 -04:00
timon999
5ee774892a
Make autoclose plugin work with Non-Ascii Unicode characters ( #641 )
...
* Make autoclose plugin work with Non-Ascii Unicode characters
* Removed lines that I forgot to remove
2017-04-29 15:44:36 -04:00
Samantha Marshall
a0bfd99a5d
Updating changes to be in-line with master
...
Merging in master
2017-04-22 14:22:38 -04:00
Zachary Yedidia
8168a75bde
Slightly speed up search and replace
...
This commit also adds a linter for literate
2017-04-16 10:43:13 -04:00
Nichlas Severinsen
233fa9b25c
Improved R syntax rules
2017-04-15 02:06:19 +02:00
Nic
1e90cec6f3
Add other Perl6 extensions
...
Perl6 files will occasionally have the extensions `.pl6` and `.pm6` instead of just `.p6`.
2017-04-11 09:32:46 -04:00
Zachary Yedidia
398370424b
Relocate cursor on search
...
This commit also fixes some true color colorscheme issues
Fixes #614
2017-03-31 10:39:10 -04:00
Zachary Yedidia
05aa30d1be
Improve html syntax rules
2017-03-29 10:08:37 -04:00
Zachary Yedidia
1c2b57dfe8
Add support for limit-group to highlights region limits
2017-03-29 09:54:54 -04:00
Zachary Yedidia
47ef864295
Add skip statements to all strings
2017-03-29 09:45:16 -04:00
Zachary Yedidia
342f3c223d
Don't skip included rules in end
2017-03-29 09:21:54 -04:00
Zachary Yedidia
079cbe11f4
Fix incorrect crystal filetype detection
...
Closes #608
2017-03-28 19:26:14 -04:00
Zachary Yedidia
3e61bd4d49
Improve some more region highlighting
2017-03-28 17:18:06 -04:00
Zachary Yedidia
299712ead3
Add support for skipping and remove need for lookbehind
2017-03-27 20:53:08 -04:00
Zachary Yedidia
d087a890ba
Fix some issues with unicode syntax highlighting
...
Closes #604
2017-03-27 14:40:42 -04:00
Zachary Yedidia
75d4e70560
Document the keepautoindent option
...
Closes #602
2017-03-27 13:22:34 -04:00
Zachary Yedidia
73ab25d008
Properly handle files that don't end with newlines
...
Closes #603
2017-03-27 13:15:00 -04:00
Zachary Yedidia
790ccd429c
Merge
2017-03-27 11:45:48 -04:00
Zachary Yedidia
47fd1475b5
Fix indent char styling
...
Closes #598
2017-03-27 11:45:24 -04:00
Nicolai Søborg
3c85d31c15
Fix merge conflict / syntax of colors.md
...
I've changed "can provide" to "must provide" for detection of filetypes (i.e. `detect:` as micro crashes if omitted)
2017-03-27 17:11:51 +02:00
Zachary Yedidia
12d74b99e8
Merge branch 'master' into view-refactor
2017-03-26 20:40:03 -04:00
Zachary Yedidia
4cda7e2d92
Update syntax readme and docs
2017-03-26 18:58:08 -04:00
Zachary Yedidia
df564e1b8b
Update yaml syntax file
2017-03-26 17:45:58 -04:00
Zachary Yedidia
1655fde09b
Fix precedence for python multi-comments
2017-03-26 17:24:02 -04:00
Zachary Yedidia
87f54be13a
Add support for lookbehind in region regexes
...
Use the 'regexp2' library for lookahead and lookbehind in region
start and end regular expressions to support things like closing quotes
that aren't preceded by backslashes.
2017-03-22 19:03:06 -04:00
Zachary Yedidia
54bb99d758
Improve new syntax files and fix a region glitch
2017-03-21 15:07:39 -04:00
Zachary Yedidia
b977bf5cca
Add converted syntax files
2017-03-21 14:55:22 -04:00
Zachary Yedidia
fa7f89a400
Properly escape start and end regexes
2017-03-21 14:48:24 -04:00
Zachary Yedidia
523f75654d
No tabs in yaml
2017-03-21 14:44:54 -04:00
Zachary Yedidia
e85ae907a0
Add syntax converter from old file format to new
2017-03-21 14:35:58 -04:00
Zachary Yedidia
8a33c98bc6
Support rule precedence just like the old format
2017-03-21 13:15:46 -04:00
Zachary Yedidia
1cd4b2c4dc
Update go yaml file
2017-03-05 11:12:50 -05:00
CaptainMcClellan
9f9b5def41
Added theming to the Vsplit divider. ( #578 )
...
* Added title setting (Requires tcell pull!) and optimized tab display.
* Changed tcell call to screen.
* Fixed bad reference for getting Buffer name.
* Themeable vsplit divider.
* Bugfix.
2017-03-03 11:48:51 -05:00
CaptainMcClellan
d949b58fc0
Legacy syntax overhaul 2 ( #577 )
...
* Added title setting (Requires tcell pull!) and optimized tab display.
* Added Clojure highlighting.
* Changed tcell call to screen.
* Fixed bad reference for getting Buffer name.
* Yet another massive syntax overhaul
* Tweaking and testing web syntax
* More webdev goodies
* Added html5 highlighting and strict html4 highlighting.
* Documentation update
2017-03-03 11:47:03 -05:00
Zachary Yedidia
3c192c2fb5
Use Go regex word boundaries
2017-03-01 17:08:56 -05:00
Zachary Yedidia
995a910f6a
Update runtime
...
Also made a minor addition to ruby.micro which fixes #574 .
2017-03-01 09:36:41 -05:00
CaptainMcClellan
c29e58e3d4
Syntax Highlight Overhaul ( #568 )
...
* Adds new syntax groups and docs
* Large refactor of syntax highlighting files
* Changed keybindings for changing tabs.
* Improved the documentation.
* Added F3 for find to default bindings.
* Massive overhaul of the syntax files
* Phase 1 color-scheme updates.
* The new colorschemes.
* Colorscheme and syntax updates.
* Tiny fix to the cmc theme.
* Another phase of colorschemes and testing gitconfig.
* Fixed haskell error
* Fortran fix
* Delete test.txt
Heh, sorry about forgetting to do this again.
2017-03-01 09:30:35 -05:00
Zachary Yedidia
924809b19b
Merge pull request #570 from yursan9/yaml
...
Improve YAML highlighting
2017-02-28 19:05:12 -05:00
Yurizal Susanto
85e7055505
Small fix for space detection
2017-02-28 13:49:48 +07:00
Yurizal Susanto
fb6d554df6
Improve YAML highlighting
2017-02-28 07:16:41 +07:00
Zachary Yedidia
bd0c5c655e
Add more syntax files and include syntax highlighter in the repo
2017-02-26 11:14:35 -05:00
Zachary Yedidia
d602cb68ca
Support include statements in syntax files
2017-02-26 11:14:35 -05:00
Zachary Yedidia
2fcb40d5a9
Use new syntax highlighting engine from zyedidia/highlight
...
This changes all the syntax files in the runtime directory and also
changes how syntax highlighting is done from inside micro.
2017-02-26 11:14:35 -05:00
Zachary Yedidia
9b51069041
Merge pull request #564 from DanielPower/master
...
Replaced tmp directory with file directory
2017-02-26 10:59:33 -05:00
Zachary Yedidia
80ab81fefc
Add tabswitch command
...
Fixes #566
2017-02-26 10:52:14 -05:00
Daniel Power
d00562d37a
Replaced tmp directory with file directory
2017-02-26 02:21:19 -03:30
Zachary Yedidia
ffebb58d92
Update autoclose
2017-02-23 22:20:33 -05:00
Andy Kluger
690610d4b1
recognize zsh-themes as zsh filetypes
2017-02-21 14:56:57 -05:00
Samantha Marshall
e379239140
fixing hex number highlighting for nim
2017-02-19 16:04:42 -05:00
Zachary Yedidia
d695d12872
Update go highlighting
2017-02-10 21:00:31 -05:00
TANIGUCHI Masaya
4c678c4936
add c++ linter
2017-02-08 15:11:23 +09:00
TANIGUCHI Masaya
18d128eb3d
create c++ syntax
2017-02-08 15:06:22 +09:00
TANIGUCHI Masaya
97632e5573
add keywords
2017-02-08 14:36:39 +09:00
Zachary Yedidia
5dc8fe40ca
Add option to disable use of a the primary clipboard
...
Closes #544
2017-02-07 19:21:25 -05:00
Zachary Yedidia
c3a165e61d
Merge pull request #539 from samdmarshall/nim
...
Adding syntax and linter support for nim-lang
2017-02-02 23:00:12 -05:00
Samantha Marshall
9122f152d1
fixing thestart/end syntax
2017-01-27 08:40:41 -05:00
Samantha Marshall
2202b32f31
finishing up syntax file
2017-01-26 15:50:54 -05:00
Samantha Marshall
15ab0b2fed
adding nim linter and syntax
2017-01-26 14:19:07 -05:00
Zachary Yedidia
40411ea627
Merge pull request #533 from onodera-punpun/toml
...
Add toml syntax file
2017-01-25 14:32:04 -05:00
Zachary Yedidia
8a6a3127c6
Merge pull request #534 from onodera-punpun/go2
...
update go syntax file
2017-01-25 14:31:53 -05:00
Yurizal Susanto
82a3b8bb39
Correct the splitBottom option
2017-01-24 10:40:36 +07:00
onodera-punpun
c29ccfe011
update go syntax file
2017-01-23 20:06:39 +01:00
onodera-punpun
d48efbf442
Add toml syntax file
2017-01-23 20:01:26 +01:00
DanielPower
f7560c3311
Add gruvbox truecolor colorscheme ( #530 )
...
* Add gruvbox truecolor colorscheme
* Fixed typo in gruvbox-tv, added operator type in colorschemes
* Added operator type to all default themes
* Changed operator to symbol
* changed operator to symbol due to name conflict
* Removed unused 'operator' field. Fixed gutter-error color
* Restored the statement group and removed operator
2017-01-20 14:32:34 -05:00
Samantha Marshall
ea57d8b883
Adding additional Python and Objective-C linting ( #524 )
...
* adding mypy and pylint to the linter plugin
* adding objective-c linting
* updating runtime file
2017-01-17 16:34:11 -05:00
Samantha Marshall
362d8eabae
Adding functionality to unbind keys
...
* adds new special-case keybinding to remove an existing default key binding.
* hides the show/close help text in the status line when no key is assigned to "ToggleHelp"
* updating documentation
2017-01-02 10:56:55 -05:00
Alexey Gladkov
80c6c8ef9f
Add mail syntax highlighting
2016-12-28 18:18:19 +01:00
Zachary Yedidia
faec861081
Update php rules
2016-12-23 18:25:47 -05:00
Zachary Yedidia
7958dc0592
Update php syntax rules
2016-12-22 18:34:10 -05:00
Zachary Yedidia
d560de4b40
Merge pull request #499 from 10sr/addrmtrailingws
...
[Proposal] Add feature to trim trailing whitespaces on save
2016-12-22 15:45:55 -05:00
Samantha Marshall
7db856d39d
updating micro syntax to better work with micro syntax files
2016-12-17 20:47:25 -05:00
10sr
e71b49481b
Update help for rmtrailingws
2016-12-17 11:33:48 +09:00
Colin Rioux
4e5aa4ecc8
Minor fix to documentation
2016-12-14 15:11:57 -05:00
Zachary Yedidia
5f50d79efa
Update docs
...
Fixes #486
2016-12-14 10:30:03 -05:00
Zachary Yedidia
1d41634272
Add missing word boundary to python regex
...
Fixes #490
2016-12-13 09:27:54 -05:00
Nicolai Søborg
3de440338d
Update plugin documentation
2016-12-11 01:24:49 +01:00
Zachary Yedidia
73d14f5d37
Merge pull request #485 from sirikid/syntax-fix
...
Initial OCaml support (integer and real literals, comments)
2016-12-09 10:41:38 -05:00
Zachary Yedidia
291b1d1efc
Use shell to parse command when using JobStart
...
Also changed all occurrences of JobStart to JobSpawn in the linter
plugin.
2016-12-09 10:34:39 -05:00
Ivan Sokolov
57960bdc81
Initial OCaml support (integers and real literals, comments)
2016-12-08 18:11:56 +03:00
Zachary Yedidia
e1d231baa3
Merge pull request #478 from NicolaiSoeborg/master
...
Add syntax highlighting for Solidity
2016-12-07 21:30:54 -05:00
Zachary Yedidia
8436e2866f
Merge pull request #481 from sirikid/syntax-fix
...
Simple fix for Pascal syntax highlighting
2016-12-07 21:30:05 -05:00
Ivan Sokolov
11e9419258
Simple fix for Pascal syntax highlighting
2016-12-08 05:03:00 +03:00
theodus
cb7fe94b04
improve pony syntax
2016-12-07 17:09:24 -05:00
Nicolai
c35650e51a
Add syntax highlighting for Solidity
2016-12-06 21:52:37 +01:00
Rohan Allison
44fa0d77ff
Add Crystal language support ( #473 )
...
* ignore micro binary
* Add crystal syntax
* Add more crystal keywords; add character style
* Default character style to string
2016-12-05 18:07:27 -05:00
Clemens Korner
069df5ef0b
convert tex.micro to use micro's colorscheme feature
2016-12-01 21:00:02 +01:00
Clemens Korner
0357ec88d5
replace space and tab characters in vhdl.micro with [:space:]
2016-12-01 18:46:24 +01:00
Zachary Yedidia
d13f9602ff
Merge pull request #449 from 10sr/jobSpawn
...
Add `JobSpawn()` function for plugin interface
2016-11-29 08:57:41 -05:00
Zachary Yedidia
1b92700990
Allow splits to be created in either direction
...
This commit adds the `splitRight` and `splitBottom` options to allow
the user to pick which direction to split in.
This also means that a new split is no longer just appended to the list
of splits.
2016-11-28 19:16:49 -05:00
theodus
d2e59b525d
add pony syntax
2016-11-23 22:38:44 -05:00
Zachary Yedidia
59251ee5d0
Merge pull request #459 from clemenscorny/master
...
vhdl syntax file
2016-11-20 11:06:44 -05:00
Clemens Korner
6fd117c5f8
vhdl syntax file
2016-11-20 16:43:48 +01:00
Zachary Yedidia
c692570212
Replace CtrlO with open command
...
This comit also makes it possible for a binding to auto-type the
beginning of a command into command mode.
Closes #450
2016-11-19 12:57:54 -05:00
Zachary Yedidia
3ecdd96931
Add cd and pwd commands to change the working dir
...
Closes #451
2016-11-18 16:48:08 -05:00
10sr
7bc8d77387
Add Buffer.AbsPath and a plugin function DirectoryName ( #455 )
...
* Add Buffer.AbsPath
* Add a plugin function DirectoryName
* Update plugins.md
2016-11-18 11:53:48 -05:00
10sr
856acf4a51
Update plugins.md
2016-11-16 14:14:04 +09:00
Samantha Marshall
935d390911
updating types
2016-11-13 15:05:07 -08:00
Samantha Marshall
0d09aabad6
adding objective-c syntax rules
2016-11-13 15:02:20 -08:00
Zachary Yedidia
d0d167b663
Put linted classfiles in temp directory
...
Fixes #445
2016-11-09 17:30:25 -05:00
Zachary Yedidia
e721ef8d46
Merge
2016-11-08 09:35:06 -05:00
Zachary Yedidia
7c2baa6086
Add default ftoptions plugin to override settings
...
The ftoptions plugin will override values in settings.json based
on language requirements (e.g. using tabs in makefiles).
2016-11-08 09:34:12 -05:00
Samantha Marshall
87b5903f6a
adding hexidecimal numbers to the existing C syntax rules
2016-11-07 11:42:43 -08:00
Zachary Yedidia
b4b0eda7d9
Merge pull request #433 from ilius/pr03.python_syntax
...
Fixes in Python 2.7 syntax, add Python 3.x syntax
2016-10-29 10:20:41 -04:00
Zachary Yedidia
199c295f1f
Merge
2016-10-28 20:34:38 -04:00
Zachary Yedidia
ad0e098a25
Add ByteOffset and ToCharPos to plugin API
2016-10-28 20:34:28 -04:00
Saeed Rasooli
418720f6df
add python3 syntax highlighting (detect from header)
2016-10-28 21:01:44 +03:30
Saeed Rasooli
80bd2694d6
fixes in python (2.7) syntax file, and rename to python2.micro
...
constants: sort by name, and __file__, remove __import__
functions: add next, help, __import__
separate types (like int and str) from builtin functions
separate and comment out methods/attrs of standard library (why hightlight?)
comment out NonSenseTypes like IntType, they are never used in code
magic methods: add __dict__
exec and map are functions, not keyword
remove trailing spaces
2016-10-28 21:01:43 +03:30
Zachary Yedidia
7492ab4de2
Add 'plugin available' command
...
Closes #413
2016-10-24 19:02:13 -04:00
Zachary Yedidia
63ccbc1ebd
Add eofnewline option
...
Closes #429
Enable with '> set eofnewline on'
2016-10-23 18:37:29 -04:00
Zachary Yedidia
ee553b7830
Add reload command
...
Closes #427
2016-10-21 11:51:36 -04:00
Zachary Yedidia
efe1ab5db6
Merge pull request #425 from adrianvoica/master
...
Updated TypeScript with all the reserved words and new types
2016-10-19 07:26:49 -04:00
Zachary Yedidia
daeffdc81b
Merge pull request #423 from ulrichSchreiner/master
...
add additional Dockerfile keywords
2016-10-19 07:26:36 -04:00
Adrian Voica
56e616d5bf
Updated TypeScript with all the reserved words and new types
2016-10-19 11:54:49 +03:00
Ulrich Schreiner
112da0b8c6
highlight yaml dicts as types
2016-10-19 09:35:03 +02:00
Ulrich Schreiner
163a3993bd
add additional Dockerfile keywords
2016-10-19 06:34:50 +02:00
Zachary Yedidia
4aae5ca451
Fix dockerfile syntax file
...
Fixes #421
2016-10-18 08:58:09 -04:00
Zachary Yedidia
25ced4c075
Merge pull request #412 from ilius/pr04.keybindings_help_fixes
...
Fixes in keybindings.md
2016-10-14 07:37:45 -04:00
Saeed Rasooli
ae72608c5d
Bugfix: keybindings.md: fix bad json syntax, due to #407
2016-10-14 14:29:58 +03:30
Saeed Rasooli
2e778a2a8e
update keybindings.md due to PR #409
2016-10-14 14:29:58 +03:30
zenlc2000
bc9e811797
Reworded first sentence to make it clearer.
2016-10-13 23:10:37 -06:00
Zachary Yedidia
ea1de18326
Add docs
2016-10-12 16:34:34 -04:00
Saeed Rasooli
e4386d9398
add help for MoveLinesUp and MoveLinesDown
2016-10-12 08:15:46 +03:30
Zachary Yedidia
d163637fa8
Update docs
2016-10-11 09:13:03 -04:00
Zachary Yedidia
905d4d7020
Make monokai the default colorscheme
...
Monokai is a better default colorscheme because it has a better 16
color approximation than zenburn. On 16 color terminals, it looks like
zenburn is not syntax highlighting anything.
2016-10-11 09:09:56 -04:00
Zachary Yedidia
6acda994e4
Update docs and readme
2016-10-06 20:36:37 -04:00
Zachary Yedidia
e563211790
Make linter a default plugin once again
2016-10-06 20:28:10 -04:00
Zachary Yedidia
aa624d86e6
Move linter and go plugins to their own repos
...
The linter and go plugins are no longer 'default'. Their installation
should be handled by the plugin manager: `> plugin install go` and
`> plugin install linter`.
The autoclose plugin will remain a default plugin because it provides
a more essential feature.
Closes #397
2016-10-06 17:18:53 -04:00
Florian Sundermann
d7b7cc954a
updated plugin help
2016-10-06 08:24:39 +02:00
Zachary Yedidia
921b828afb
Add some documentation about plugin manager
2016-10-05 18:26:41 -04:00
Zachary Yedidia
3733e7e223
Add 'Unsplit' action and VSplit and HSplit actions
...
This commit adds the 'Unsplit' action used to close all splits except
the current one.
It also adds the 'VSplit' and 'HSplit' actions which open empty
vertical/horizontal splits so you can bind them to keys.
Closes #228
2016-10-04 11:08:32 -04:00
Zachary Yedidia
fb69ecdc9b
Add 'autosave' option
...
Closes #278
2016-09-28 13:07:05 -04:00
Zachary Yedidia
0ae5ae5d9a
HSplit log, and update docs
2016-09-27 14:29:55 -04:00
Zachary Yedidia
0de167b07b
Add new plugin runtime function
2016-09-27 14:24:52 -04:00
Zachary Yedidia
5cc66cef42
Fix problems recognizing CtrlH
...
Fixes #368
The 'Backspace2' key has been renamed to 'Backspace'.
2016-09-26 09:34:55 -04:00
Camille
22ebbcfd89
Add ` to autoclose
2016-09-25 19:05:58 +02:00
Florian Sundermann
6fe20fb305
some additions to the plugin API
...
Those changes were originally used for the snippet plugin which
may not be part of the core.
2016-09-19 13:23:47 +02:00
Zachary Yedidia
ab36db7646
Update yaml header
2016-09-16 15:22:38 -04:00
Zachary Yedidia
2e3c87b67d
Add quick start guide to help.md
2016-09-16 12:14:08 -04:00
Zachary Yedidia
a549d12808
Merge pull request #334 from techtonik/filemanagers
...
Usability integration with file managers
2016-09-16 12:09:17 -04:00
Zachary Yedidia
149fea8b76
Allow plugins to add their own runtime files
2016-09-16 11:02:10 -04:00
Zachary Yedidia
e484445b1e
Merge pull request #354 from boombuler/help
...
Help
2016-09-14 17:13:46 -04:00
Zachary Yedidia
2bcc59faea
Fix pyflakes linter pattern
...
Fixes #358
2016-09-14 12:54:31 -04:00
boombuler
d250b9d7b0
allow plugins to have a help file
2016-09-13 09:06:06 +02:00
anatoly techtonik
f4e0a3c0f8
Fix comma and tabs in markdown help
2016-09-11 22:40:02 +03:00
Zachary Yedidia
210a538cdd
Improve performance for xml and html files
2016-09-10 10:32:21 -04:00
Zachary Yedidia
fd786b3020
Allow a buffer to be opened simultaneously
2016-09-10 10:30:15 -04:00
Nickolay
1522b24803
Okay. Bugfix with syntax :P ( #339 )
...
* Now it can install micro into /usr/bin (make-build only, unix-only)
* Fixed Syntax Bugging
* Update xml.micro
* Revert Makefile change
* Update xml.micro
2016-09-10 09:18:14 -04:00
Zachary Yedidia
922baa930d
Add eval command
2016-09-09 15:54:32 -04:00
Zachary Yedidia
9efc4fb5e9
Remove duplicate PKGBUILD filetype
2016-09-09 12:41:56 -04:00
Zachary Yedidia
37d83a280f
Merge
2016-09-09 12:32:05 -04:00
Zachary Yedidia
8c0544c264
Use shell.micro for PKGBUILD files
...
Fixes #345
2016-09-09 12:31:44 -04:00
Andrew Janke
9a09647330
doco: grammar and formatting tweaks
2016-09-09 00:07:58 -04:00
Zachary Yedidia
301e86a46e
Add SaveAs action and command
...
Fixes #340
You can bind the action `SaveAs` and if you provide an argument to
the `save` command it will save as. For example `> save test.txt`.
2016-09-08 14:13:46 -04:00
Zachary Yedidia
8f06e51170
Add colorcolumn option
...
Fixes #333
For example: `> set colorcolumn 80`.
2016-09-07 17:17:51 -04:00
anatoly techtonik
a853164302
Usability integration with file managers
2016-09-08 00:11:51 +03:00
Zachary Yedidia
0373589ab8
Merge
2016-09-06 19:30:28 -04:00
Zachary Yedidia
dce56a2b85
Have HandleShellCommand return the stdout
...
HandleShellCommand will now return the stdout as a string and
it also takes an additional flag indicating whether it should
wait before closing the shell and returning to the editor.
2016-09-06 19:27:57 -04:00
Zachary Yedidia
539495d2f7
Add support for macros
...
Closes #270
CtrlU to toggle recording and CtrlJ to playback.
You can also rebind using the "ToggleMacro" and "PlayMacro"
actions.
Note that recursive macros are not yet supported.
2016-09-06 10:44:15 -04:00
USAMI Kenta
efa24f5a8d
Add PHP Keywords
...
- trait (PHP 5.5)
- iterable (PHP 7.1)
- void (PHP 7.1)
see https://github.com/ejmr/php-mode/pull/317
2016-09-06 18:25:08 +09:00
boombuler
a952e249b4
added pascal syntax
2016-09-05 17:53:49 +02:00
Zachary Yedidia
7937f7038b
Merge pull request #314 from mame98/master
...
Added some SCSS keywords for the css/scss highlighting
2016-09-05 10:50:00 -04:00
Marius Messerschmidt
d6a01ad29f
Added some SCSS keywords for the css/scss highlighting
...
Signed-off-by: Marius Messerschmidt <marius.messerschmidt@googlemail.com>
2016-09-05 16:41:32 +02:00
Zachary Yedidia
ea4d822923
Merge pull request #283 from boombuler/autocompleteplugin
...
Autocomplete for plugins
2016-09-05 10:29:51 -04:00
Adrian Voica
b992669f5b
Updates to TypeScript dictionary.
2016-09-05 17:18:41 +03:00
Adrian Voica
c310053777
Added TypeScript syntax highlighting file.
2016-09-05 17:01:37 +03:00
skovsgaard
399e3a5ee1
Add an LFE syntax file
2016-09-04 11:11:30 +02:00
Zachary Yedidia
b905400892
Add default bindings for CtrlHome and CtrlEnd
...
Fixes #280
2016-09-03 13:37:16 -04:00
Zachary Yedidia
b5232dd24d
Merge
2016-09-03 13:00:23 -04:00
Zachary Yedidia
89886f10c7
Update conf.micro syntax file
...
Fixes #290
2016-09-03 13:00:05 -04:00
Devon Carew
a7b72f0e0e
add dart syntax highlighting
2016-09-03 09:16:52 -07:00
boombuler
c5ac5be764
updated plugin help
2016-09-02 19:50:19 +02:00
Camille
0df7e59ca4
sh.micro: Add some linux config files that use sh.
2016-09-02 16:49:19 +02:00
Zachary Yedidia
226cf399ba
Merge pull request #271 from teryanik/master
...
Improvement highlight php syntax
2016-09-01 20:23:53 -04:00
cotne nazarashvili
d2254df062
improve json.micro
2016-09-02 03:59:36 +04:00
teryanik
3e83d29fb4
improvement highlight php syntax
2016-09-01 22:24:31 +03:00
Zachary Yedidia
832cc366af
Merge
2016-08-31 14:22:19 -04:00
Zachary Yedidia
5458605618
Add "bubblegum" light colorscheme
...
Closes #255
2016-08-31 14:21:46 -04:00
Dave Takahashi
64ff933451
Fix a couple typos in help files
2016-08-31 11:01:30 -07:00
Zachary Yedidia
031ed64305
Add colorscheme support for gentoo-ebuild
...
See #229
2016-08-31 12:12:23 -04:00
Zachary Yedidia
b9d4dbd5e0
Add colorscheme support for yaml
...
See #229
2016-08-31 11:59:43 -04:00
Zachary Yedidia
4972db4bf6
Merge
2016-08-31 11:16:58 -04:00
Zachary Yedidia
b70db77c29
Add infobar option to disable the message line
...
Fixes #257
2016-08-31 11:16:22 -04:00
Nickolay
f9d0c563e4
Fixed Micro & ASM syntax files
2016-08-31 17:50:09 +03:00
Zachary Yedidia
4003586456
Merge pull request #253 from xDShot/patch-1
...
Update ini.micro
2016-08-31 08:36:54 -04:00
Nickolay
c59b1ea387
Added .micro syntax theme
2016-08-31 15:19:45 +03:00
xDShot
00089a7c01
Update ini.micro
2016-08-31 12:06:46 +03:00
Zachary Yedidia
c661c65c8c
Update help to give quick instructions on quitting and saving
2016-08-30 21:29:41 -04:00
Zachary Yedidia
13da5ced15
Fix problem with linter.onSave calling view.Save
...
Fixes #246
2016-08-30 19:38:45 -04:00
Matt Holt
2fc274da7d
Add Caddyfile syntax
2016-08-30 17:22:55 -06:00
Zachary Yedidia
b19b36d113
Update syntax file readme
...
Fixes #245
2016-08-30 18:08:26 -04:00
Zachary Yedidia
b6f5db3692
Add QuitAll action to close all splits and tabs at once
...
See #239
2016-08-30 17:38:46 -04:00
Nickolay
6e63472930
Whooops!
2016-08-31 00:08:37 +03:00
Nickolay
94397a90bd
Fully finished ASM syntax highlightig
2016-08-31 00:03:22 +03:00
Nickolay
216bfaca7e
Added SIMD, Crypto and undocumented instructions
2016-08-30 23:02:03 +03:00
Nickolay
9854fc712f
Added x87 instructions
2016-08-30 22:13:46 +03:00
Nickolay
99635d9491
Added x86 cpu support for assembly.
2016-08-30 21:51:30 +03:00
Geoffrey Lehée
db520fe9e7
Add missing comma
2016-08-30 17:56:40 +02:00
Zachary Yedidia
afa58a984a
Merge pull request #220 from wayneashleyberry/patch-1
...
Update options.md
2016-08-30 09:47:22 -04:00
Zachary Yedidia
209cdccdc5
Merge pull request #225 from jfchevrette/patch-1
...
Fix typo in tutorial.md
2016-08-30 09:47:09 -04:00
Jean-Francois Chevrette
3e428ff505
Fix typo in tutorial.md
...
small typo
2016-08-30 09:38:49 -04:00
Andrea Manzini
ddc237872c
Update tutorial.md
...
small typo
2016-08-30 10:07:28 +02:00
Wayne Ashley Berry
ee5ac6a582
Update options.md
...
Fixes json syntax and adds syntax highlighting.
2016-08-30 09:35:21 +02:00
Zachary Yedidia
19c7860f14
Update readme
2016-08-29 10:21:34 -04:00
Zachary Yedidia
eda08a994a
Make cursorline on by default
2016-08-29 09:20:48 -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
90e0a2ec1a
Rename 'default' colorscheme to 'simple'
...
This commit also adds an additional name for zenburn as 'default'
so you can refer to zenburn as 'default' or as 'zenburn'
2016-08-28 13:07:47 -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
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
Zachary Yedidia
57f769c9a1
Don't display the tab bar if only one tab is open
2016-06-08 13:29:24 -04:00
Zachary Yedidia
a8de4bcd8a
Merge pull request #168 from onodera-punpun/syntax_css
...
Update css syntax
2016-06-08 13:11:31 -04:00
Camille Scholtz
b9f9c4ca0a
fixer :hover, etc., color
2016-06-08 18:52:42 +02:00
Camille Scholtz
8a38f897d7
colorize brackets
2016-06-08 18:45:12 +02:00
Camille Scholtz
e9d14838a8
make normal the defualt color
2016-06-08 18:42:02 +02:00
Camille Scholtz
bc40d3e4e9
Update css syntax
2016-06-08 18:38:53 +02:00
Camille Scholtz
2583f52c8f
Clean up shell and fish syntax files
2016-06-02 14:35:09 +02: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
Zachary Yedidia
7adcb13c08
Add support for user-created commands
...
Plugins can now create their own commands using the `MakeCommand`
function. Plugins can also now create their own keybindings with the
`BindKey` function. See the go plugin for an example of `MakeCommand`.
2016-05-30 13:38:50 -04:00
Zachary Yedidia
ee9f2a3d9c
Add persistent undo as the option
2016-05-29 11:02:56 -04:00
Zachary Yedidia
a92a7dc4e6
Add savecursor
option
...
This adds the `savecursor` option which will remember where the cursor
was when the file was closed and put it back when the file is opened
again. The option is off by default so that people aren't confused as to
why the cursor isn't at the start of a file when they open it.
This commit also adds a more general ability to serialize a buffer so
various components can be saved (which could also be useful for persistent
undo).
Fixes #107
2016-05-28 17:29:49 -04:00
Zachary Yedidia
e8d8da1443
Refactor and clean up
...
This commit puts in place the ability for multiple views (splits).
This commit also removes the editor bindings so that all bindings can be
rebound by the user.
I also added some more comments
This fixes #109
2016-05-28 11:32:09 -04:00
Zachary Yedidia
6ece5bc41a
Fix tabstospaces problem
2016-05-22 15:47:28 -04:00