Commit graph

14 commits

Author SHA1 Message Date
kiyan
8b748a7570 chore: cleanup main file, move statusline in module 2022-07-18 15:44:59 +02:00
Christian Clason
07eb437bb1 refactor!: update to Neovim 0.7 APIs
* set highlight groups via nvim_set_hl
* define autocommands via nvim_create_autocmd
* port plugin/nvim-treesitter.vim to Lua
* port healthcheck to Lua
2022-04-30 16:08:01 +02:00
Christian Clason
bc25a6a5c4 chore!: remove ensure_installed='maintained'
Removes all support (and tests) for the parser category "maintained", as
this is no longer a useful category.

BREAKING CHANGE: replace `ensure_installed='maintained'` by an explicit
list of parsers, or use `'all'` (not recommended).
2022-04-30 11:42:46 +02:00
Javier López
66f1873213 feat(healthcheck): support native lua healthchecks, and fixes
After neovim/neovim#15259 lua healthchecks are called directly and are
prefered over neovim autoload ones. The discover of Lua ones requires
the function to be named "check()".

Also the mentioned PR changed the design of healthchecks to not use
output capturing, therefore avoid printing and instead concatenate and
call the health functions.
2021-10-11 09:47:16 +02:00
Stephan Seitz
4214646953 feat: Add TSEditQuery 2021-04-14 16:23:21 +02:00
Stephan Seitz
c3b526fe51 feat(install): add "maintained" option to only install maintained parsers
Unmaintained parsers only give users little benefit but take sometimes a
a long time to install (e.g. Markdown, Julia, Haskell parser). We could
recommend to only install maintained parsers by default.
2020-10-26 12:42:10 +01:00
kiyan42
36b5f6f075 start indent module 2020-10-19 21:08:15 +02:00
Kristijan Husak
3aa7e575e2 Remove old statusline implementation with new one. 2020-10-11 13:35:18 +02:00
Kristijan Husak
62df1143da Add implementation for improved statusline. Closes #545. 2020-10-11 13:35:18 +02:00
Santos Gallegos
7a1f6b1586 Completion: use custom instead of customlist
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
2020-09-05 19:29:46 +02:00
Santos Gallegos
1ba18329c7 Refactor: move completion functions to autoload 2020-09-04 21:20:30 +02:00
Thomas Vigouroux
fbade728fe feat: add syntax-based folding 2020-05-25 11:19:38 +02:00
Thomas Vigouroux
7682a1a49f feat: provide a statusline indicator
It will show the current branch at the cursor going the tree as such.
root->node->subnode->leaf

If an argument is provided to `statusline`, then the tree will be
truncated as follows :
..->subnode->subnode
2020-05-05 20:06:45 +02:00
kiyan42
698453e50c feat: add checkhealth 2020-04-21 13:38:16 +02:00