Commit graph

2607 commits

Author SHA1 Message Date
GitHub
755bfaf287 Update lockfile.json 2022-05-03 09:36:52 +02:00
GitHub
4067351ffd Update lockfile.json 2022-05-01 19:31:00 +02:00
Thomas Vigouroux
6619432dd3 feat(vim): add support for const 2022-05-01 19:21:40 +02:00
kiyan
44d2898f0f chore: add github sponsors to FUNDING.yml
fixes #2879
2022-05-01 14:28:30 +02:00
Santos Gallegos
132405f18f Python: highlight raise from statement 2022-05-01 10:06:13 +02:00
GitHub
c2b2fef3e4 Update lockfile.json 2022-04-30 19:46:43 +02:00
Luke Bakken
4a67de217a
docs: fix checkhealth command in README (#2884)
Health check command should be `:checkhealth nvim-treesitter`
2022-04-30 17:39:16 +00:00
Christian Clason
1f508ff394 fixup: separate augroups for modules 2022-04-30 16:08:01 +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
GitHub
808473cfbb Update lockfile.json 2022-04-30 09:33:50 +02:00
GitHub
94255915e6 Update lockfile.json 2022-04-29 09:11:57 +02:00
GitHub
b4ab9daed1 Update lockfile.json 2022-04-28 08:59:08 +02:00
Github Actions
a33a188ce7 Update README 2022-04-28 01:34:50 +02:00
GitHub
502e010d30 Update lockfile.json 2022-04-28 00:16:54 +02:00
francisco souza
1d5e4f3aa1 feat(proto): add parser
Related to #2307.
2022-04-28 00:05:57 +02:00
Github Actions
9fdd6765fc Update README 2022-04-27 17:23:07 +02:00
GitHub
445c649499 Update lockfile.json 2022-04-27 17:08:35 +02:00
Graham Bates
e49396bee1 Add additional m68k queries 2022-04-27 16:54:38 +02:00
Graham Bates
fa6c6f3535 Use correct type for labels 2022-04-27 16:54:38 +02:00
Graham Bates
d0eb99cdee Remove query for interpolated macro arg
No `embedded` mapping available in nvim-treesitter. The previous query
to `variable.builtin` will work fine in this context too.
2022-04-27 16:54:38 +02:00
Graham Bates
7a01241ba6 feat: add m68k parser and queries 2022-04-27 16:54:38 +02:00
GitHub
5c2bc57ced Update lockfile.json 2022-04-26 21:29:57 +02:00
Michael Hoffmann
82e43748cf indent(hcl): fix function calls 2022-04-25 23:36:36 +02:00
Michael Hoffmann
b1e8b61a94 indents(hcl): fix indentation queries
This commit adds tests for hcl indentation and fixes various bugs
2022-04-24 18:57:30 +02:00
GitHub
91f912f2d1 Update lockfile.json 2022-04-24 10:52:22 +02:00
GitHub
909b5d26fd Update lockfile.json 2022-04-23 16:04:51 +02:00
Tomas Sandven
6d072a6e54 Fix YANG indentation for extension statements 2022-04-23 15:49:53 +02:00
Tomas Sandven
71a4a13ed1 Add aligned indents for multi-line strings 2022-04-23 15:49:53 +02:00
Tomas Sandven
f51d4180c6 Add indent queries for YANG 2022-04-23 15:49:53 +02:00
GitHub
ee38abbe46 Update lockfile.json 2022-04-23 14:02:51 +02:00
TerseTears
24f99166ed Add org parser 2022-04-23 13:55:05 +02:00
GitHub
ead56fd316 Update lockfile.json 2022-04-23 11:50:30 +02:00
GitHub
e23df397e2 Update lockfile.json 2022-04-23 11:39:55 +02:00
GitHub
3c50297eca Update lockfile.json 2022-04-22 00:22:46 +02:00
francisco souza
44b7c81002 fix(ts_utils): fix swap_nodes after get_node_text change
After some discussion, it looks like the easiest thing to do for now is
to keep a private copy of get_node_text (just to skip the deprecation
message) and invoke that, until core provides an equivalent function
that can return the node content in a table representing the node
"lines".

Also fixes the statusline by calling the private version for
get_node_text until a change is made in core.
2022-04-21 23:57:35 +02:00
GitHub
bd2f5d770d Update lockfile.json 2022-04-21 08:56:22 +02:00
GitHub
6d0cee2f57 Update lockfile.json 2022-04-20 14:58:36 +02:00
Nir Tzachar
62fa8f77c4 adapt to vim.treesitter.query.get_node_text 2022-04-19 16:28:41 +02:00
GitHub
6f6cb20692 Update lockfile.json 2022-04-19 09:40:15 +02:00
Christian Clason
a8bce851bf fixup: restore old implementation 2022-04-18 18:50:46 +02:00
ranjithshegde
2490a8bbca fix(statusline): adjust to the new API (query) 2022-04-18 17:52:18 +02:00
Christian Clason
2248b64781 fix(statusline): don't use deprecated function 2022-04-18 15:36:28 +02:00
Christian Clason
4fb966da95 chore!: remove filetype detection and filetype plugins
All these are now detected by Neovim as of 0.7.0; new
filetypes can easily be added via `vim.filetype.add()`.
2022-04-18 14:18:40 +02:00
Stephan Seitz
c3848e713a chore: deprecate ts_utils.get_node_text 2022-04-18 14:17:51 +02:00
Stephan Seitz
21ac88b955 chore!: remove compat module for vim.ui 2022-04-18 14:17:22 +02:00
Akin Sowemimo
bca65c068b test(go): add cases for newlines de-indentation
test(go): combine new indent test cases

test(go): add incorrect indent after var closing )

this case does not work correctly already so add that in since this PR
does not address that case

test(go): set current lines in indent test

test(go): simplify test case
2022-04-18 14:11:02 +02:00
Akin Sowemimo
eb0eb67bc5 fix(go): reduce indent after },) 2022-04-18 14:11:02 +02:00
Christian Clason
facc6fdbe1 feat(swift): switch to branch with generated files 2022-04-18 11:49:29 +02:00
GitHub
476a898a66 Update lockfile.json 2022-04-18 10:21:55 +02:00