Commit graph

2579 commits

Author SHA1 Message Date
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
Stephan Seitz
4542402e34 highlights(java): add support for text_blocks 2022-04-16 23:23:19 +02:00
Thomas Vigouroux
386f80e4d7 feat(vim): highlight unknown commands 2022-04-16 20:32:35 +02:00
GitHub
bc72a865d9 Update lockfile.json 2022-04-16 20:22:41 +02:00
GitHub
5b50d62e81 Update lockfile.json 2022-04-16 19:07:24 +02:00
Christian Clason
a189323454 chore: bump minimal Nvim version to 0.7 and check
Checks minimal version in `:checkhealth nvim-treesitter`

Also recommend nightlies
2022-04-16 11:13:32 +02:00
Christian Clason
8a1acc00d2 ci: bump treesitter to 0.20.6 2022-04-16 10:43:46 +02:00
Marcus Caisey
6a437db012 remove ignore_child_trees from get_node_at_position 2022-04-16 10:42:18 +02:00
Marcus Caisey
9dff7c2d45 add ignore_injected_langs to get_node_at_cursor 2022-04-16 10:42:18 +02:00
Christian Clason
02818f8a4c ci: remove all swift skips
followup to #2796
2022-04-16 10:36:52 +02:00
Sergio Alejandro Vargas
394e7f8048 highlights(julia): Update literals
Add queries for:
- Character literals
- Escape sequences
- NaNs, Infs and missing

Remove highlight to identifiers in coefficient expressions.

Update other literals to match grammar.
2022-04-16 00:28:00 +02:00
GitHub
8ab11853a3 Update lockfile.json 2022-04-15 23:07:44 +02:00
GitHub
cecffc9bee Update lockfile.json 2022-04-15 22:25:32 +02:00
Emilia Simmons
76d1042b31 Format with stylua 2022-04-15 22:00:23 +02:00
Emilia Simmons
56083dd56f fix: properly select name in revision archive 2022-04-15 22:00:23 +02:00
GitHub
d9cc414e69 Update lockfile.json 2022-04-15 18:58:11 +02:00
Stephan Seitz
436d2ebe24 highlights(markdown): fix conceal capture 2022-04-15 18:47:53 +02:00
Stephan Seitz
f0398b7329 highlights(markdown): conceal link markers 2022-04-15 18:42:53 +02:00
Stephan Seitz
2bedaeb732 highlights(markdown): conceal emphasis_delimiter 2022-04-15 18:42:53 +02:00
Stephan Seitz
ade64b4459 highlights(markdown): add conceal to fenced code blocks 2022-04-15 18:42:53 +02:00
Dalembert
04367f46e6 Fix syntax in comment 2022-04-15 18:37:17 +02:00
Stephan Seitz
901b31f66c ci: don't skip swift anymore
I think this was a nvim 0.6 issue
2022-04-15 18:35:17 +02:00
Christian Clason
5633f897a7 ci: update windows workflow to 0.7
Unarchive directory was renamed to `nvim-win64`
2022-04-15 18:30:14 +02:00
Christian Clason
db0e519291 latex: capture math env contents 2022-04-15 15:04:29 +02:00
Jendrik Stelzner
1b06c671cf Fix backtick typo in highlighting issue template 2022-04-15 12:52:06 +02:00
GitHub
d180118c5c Update lockfile.json 2022-04-15 12:25:33 +02:00
Christian Clason
b2807559e3 julia: update queries to parser changes 2022-04-15 12:15:18 +02:00
GitHub
0fc170120a Update lockfile.json 2022-04-14 20:34:12 +02:00
Christian Clason
94f19cad29 latex: update queries
Make use of parser updates
* add `\{re}newenvironment`
* add `\DeclarePairedDelimiter{X}`
* add `\title` and `\author`
* add optional arguments to sectioning commands
* use builtin nodes for math environments
2022-04-14 12:02:20 +02:00