Zachary Yedidia
12c286f9b1
Introduce IndentLine action
...
Closes #1476
2020-02-12 13:30:24 -05:00
Zachary Yedidia
8a907956d1
Use actual lua functions for callbacks instead of strings
2020-02-08 15:49:41 -05:00
Zachary Yedidia
106ba48079
Add some docs for linter, comment, status
2020-02-07 11:32:12 -05:00
Zachary Yedidia
bcb1947a0a
Add plugin manager
2020-02-01 23:54:38 -05:00
Zachary Yedidia
46c5a81b0d
Fix callback cancelation
2020-01-30 18:04:17 -05:00
Zachary Yedidia
59146cabb1
Add callback option to linter
2020-01-30 18:00:17 -05:00
Zachary Yedidia
1b73abcfd0
Fix formatting in plugin info.json
2019-12-29 00:03:21 -05:00
Zachary Yedidia
29a5cef559
Update default plugins slightly
2019-12-28 22:39:57 -05:00
Zachary Yedidia
94ff79e7b2
Lua prompt support and plugin improvements
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
bc6dd990e5
Improve gutter messages
2019-12-25 17:05:11 -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
Camille Scholtz
f2006f592a
alphabetically order linters, add shell linter
2017-10-11 17:47:23 +02:00
Zachary Yedidia
5ec08d0a29
Use correct separator on windows
...
Ref #673
2017-06-18 09:56:36 -04:00
tommy
20ad87611f
added swift linting to linux
2017-05-08 17:14:33 +01: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
Daniel Power
d00562d37a
Replaced tmp directory with file directory
2017-02-26 02:21:19 -03:30
TANIGUCHI Masaya
4c678c4936
add c++ linter
2017-02-08 15:11:23 +09: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
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
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
Zachary Yedidia
d0d167b663
Put linted classfiles in temp directory
...
Fixes #445
2016-11-09 17:30:25 -05: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
Zachary Yedidia
2bcc59faea
Fix pyflakes linter pattern
...
Fixes #358
2016-09-14 12:54:31 -04:00
Zachary Yedidia
13da5ced15
Fix problem with linter.onSave calling view.Save
...
Fixes #246
2016-08-30 19:38:45 -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
d17cc0f628
Add boolean option to actions to disable the lua callback
2016-08-17 14:16:27 -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
57f769c9a1
Don't display the tab bar if only one tab is open
2016-06-08 13:29:24 -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
e2efc963b7
Simplify IsDirty check
2016-05-14 12:04:13 -04:00
Zachary Yedidia
31567c9e15
Add linter option
2016-05-05 12:53:28 -04:00
Zachary Yedidia
3cbb23bfbe
Add automatic linting for Go, Python, C, D, Java, Javascript, Lua
2016-05-05 12:53:27 -04:00
Zachary Yedidia
1668e91310
Add linter plugin to easily make linters
2016-05-05 12:53:27 -04:00