Commit graph

1185 commits

Author SHA1 Message Date
GitHub
fe5fd3d79c Update lockfile.json 2021-04-07 17:43:09 +02:00
github-actions[bot]
20e4566d09
Update lockfile.json (#1156)
Co-authored-by: GitHub <noreply@github.com>
2021-04-07 14:35:01 +00:00
Stephan Seitz
f8314a4df3 highlights(go): Highlight const_declaration
Fixes #1157
2021-04-07 13:03:44 +02:00
Stephan Seitz
bf0ae40cf4 fix(health): let CC check behave like in real installation
Fixes #1146
2021-04-07 13:00:42 +02:00
GitHub
175c8c397c Update lockfile.json 2021-04-07 11:33:35 +02:00
NullVoxPopuli
6df2368242 Update highlights.scm 2021-04-07 05:33:51 +02:00
Stephan Seitz
826683b1bf Fix: allow empty path in utils.get_at_path 2021-04-06 21:48:25 +02:00
Marco Hinz
06c9ef8104 TSModuleInfo: change doc 2021-04-06 21:32:46 +02:00
Marco Hinz
fc5e37fe48 TSModuleInfo: make new buffer work with given argument 2021-04-06 21:32:46 +02:00
Marco Hinz
c64c8a4017 TSModuleInfo: use custom buffer 2021-04-06 21:32:46 +02:00
Stephan Seitz
099b921542 injections(js): add regex highlighting 2021-04-06 21:27:47 +02:00
Stephan Seitz
853caf5b3d highlights(rust): Add operator "?" 2021-04-06 19:50:23 +02:00
GitHub
11e1db3ec2 Update lockfile.json 2021-04-06 03:13:08 +02:00
Santos Gallegos
79040e539d
Fix incremental selection (#1135)
So, there are two problems:

- There was an infinite loop when inc selection was initiated
  from an injection.
- The comparison was wrong when the whole file was selected,
  this is because ts matches the EOF.
  This is an extra line with one char (EOF).

I put a workaround to try to select the node from the main
tree, but we should try to select the node from the parent tree of the
injection, but I wasn't able to get the parent tree from the node.
2021-04-05 20:02:58 -05:00
Christian Clason
fb8762271c Small update to README
For the sake of completeness, mention that `folding` is not a module in list of available modules.
2021-04-05 16:44:17 +02:00
GitHub
992e4db9c1 Update lockfile.json 2021-04-05 15:47:44 +02:00
Marco Hinz
8840641acc TSModuleInfo: cleaner indentation 2021-04-05 15:41:00 +02:00
Marco Hinz
b8f17f89fb TSModuleInfo: sort mods and languages 2021-04-05 15:41:00 +02:00
Santos Gallegos
4bfccba843 Comment: highlight text nodes
As requested in https://github.com/nvim-treesitter/nvim-treesitter/issues/236#issuecomment-797878646
2021-04-03 10:48:09 +02:00
kiyan
7deedc4939 fix: prev_node nil check 2021-04-02 18:41:51 +02:00
Stephan Seitz
052590ae55 healthcheck: raise error when ABI is too old 2021-04-02 06:05:56 +02:00
Himujjal
0b2ec9d266 improved zig grammar and queries 2021-04-02 03:29:21 +02:00
Himujjal
83bfcde7c2 fixed some errors 2021-04-02 03:29:21 +02:00
GitHub
9b5e82ff9d Update lockfile.json 2021-04-01 21:24:57 +02:00
Stephan Seitz
b9470e30b9 Remove requires_generate_from_grammar for ledger 2021-04-01 21:10:47 +02:00
Stephan Seitz
25ee877b62 all/maintained: only installation from grammar when tree-sitter CLI executable 2021-04-01 21:10:47 +02:00
Stephan Seitz
c16a6c972b Check for node-js on :TSInstallFromGrammar
Ref: https://github.com/nvim-treesitter/nvim-treesitter/issues/1121#issuecomment-811755767
2021-04-01 21:10:47 +02:00
kiyan
0f9bdb0939 fix: avoid infinite loop which causes some breakage 2021-04-01 20:50:25 +02:00
kiyan
8948c331ee fix: jsx indent query 2021-04-01 20:50:25 +02:00
kiyan
a2cee8852b fix: indent on new line 2021-04-01 20:50:25 +02:00
GitHub
ca3bbdbe94 Update lockfile.json 2021-03-31 20:00:23 +02:00
Stephan Seitz
edd942a962 Add tree-sitter ABI version to health check 2021-03-31 19:01:21 +02:00
Stephan Seitz
4821bde80a Import highlights.scm from tree-sitter-zig 2021-03-30 22:27:50 +02:00
Stephan Seitz
c7313ffd10 Fix beancount queries 2021-03-30 22:27:50 +02:00
Stephan Seitz
6f85037437 Pin verilog parser because it downgraded to 0.18.0 2021-03-30 22:27:50 +02:00
Stephan Seitz
7b1d557c80 Use fullpath to tree-sitter executable to avoid using one from NPM 2021-03-30 22:27:50 +02:00
GitHub
0684124a71 Update lockfile.json 2021-03-30 22:27:50 +02:00
Github Actions
6963ee6fea [docgen] Update README.md
skip-checks: true
2021-03-30 19:26:37 +02:00
Stephan Seitz
e1997ebbca Add LaTeX maintainers 2021-03-30 19:26:37 +02:00
Stephan Seitz
712cc78a1e Add text.reference and text.environment 2021-03-30 19:26:37 +02:00
Stephan Seitz
0556edf5f3 latex: add TSMath that behaves like vimtex math highlighting 2021-03-30 19:26:37 +02:00
Stephan Seitz
ea8c3b2850 feat: Add Latex basic highlights and folds
Fix #1104
2021-03-30 19:26:37 +02:00
Steven Sojka
6863f79118
refactor(all): language tree adaption (#1105) 2021-03-30 08:18:24 -05:00
Santos Gallegos
0df7c4aa39
Fix jsdoc: play nice with the comment parser (#1108)
Using separate queries makes it work as expected.
Also, for the comment parser to be able to override the other tokens
we need to remove the comment from highlights (this shouldn't be a
problem since that section is already highlighted as a comment).

And, the order of the captures matter,
having jsdoc first will have more priority over `@param`.

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1069
2021-03-27 10:51:16 -05:00
Stephan Seitz
edcac596ce highlights(rust): Highlight dereferenced closure parameters 2021-03-26 20:12:38 +01:00
Stephan Seitz
2331a36693
highlights(java): Highlight fields (members and member access) (#1107) 2021-03-26 13:25:28 -05:00
Stephan Seitz
88ac3d2365 Address #1067: check whether lockfile exists 2021-03-24 22:32:21 +01:00
Github Actions
123d2edfce [docgen] Update README.md
skip-checks: true
2021-03-24 18:32:13 +01:00
Steven Sojka
4da6f29a56 chore(parsers): add tsx maintainer 2021-03-24 18:32:13 +01:00
Steven Sojka
7984975a2f
feat(install): allow ignore list when installing parsers (#1098) 2021-03-24 09:12:03 -05:00