Commit graph

1013 commits

Author SHA1 Message Date
elianiva
0bf8f58cd2 feat: use @ignore for comments and multiline strings 2021-03-01 23:28:53 +01:00
Github Actions
1297e4f1b1 [docgen] Update README.md
skip-checks: true
2021-03-01 20:06:40 +01:00
kiyan
21799c9ed6 fix: add used_by in parser setter 2021-03-01 20:06:40 +01:00
Fabian Viöl
34bb66c48f Add 'register' as c-keyword
See https://en.wikipedia.org/wiki/Register_(keyword)
2021-03-01 09:12:44 -05:00
Stephan Seitz
e22b5ee6ef highlights(glimmer): add copyright note 2021-03-01 01:02:09 +01:00
NullVoxPopuli
cb2de4e172 add back delimiter 2021-03-01 01:02:09 +01:00
NullVoxPopuli
90415552c0 Copy highlights suggestion from @theHamsta 2021-03-01 01:02:09 +01:00
NullVoxPopuli
4868c2117f Add branch to glimmer config 2021-03-01 01:02:09 +01:00
NullVoxPopuli
3568e54669 Add glimmer parser 2021-03-01 01:02:09 +01:00
NullVoxPopuli
35369de25a Support the glimmer parser when the hbs template literal tag is used 2021-03-01 01:02:09 +01:00
Pau Ruiz Safont
731998199f ocaml, ocaml_interface: update to latest parser
Allows parsing quoted strings to have other nodes inside.
2021-02-28 22:32:07 +01:00
Pau Ruiz Safont
0df1803056 highlights(ocaml): change order or captures
This because the later captures have more priority in neovim, not less
like in upstream.

This fixes highlighting highlighting for let* and +, for example.
2021-02-28 22:32:07 +01:00
Pau Ruiz Safont
633b42b2a2 highlights(ocaml): add unit and pretty_printing_indication 2021-02-28 22:32:07 +01:00
elianiva
1bbcd2fbc2 svelte: also capture src as text.uri 2021-02-28 14:01:54 -05:00
kiyan
9d57216c0d chore: remove useless code and indent files 2021-02-27 13:36:33 +01:00
Santos Gallegos
91a89aa408 HTML: capture src attributes as text.uri 2021-02-26 07:45:59 +01:00
jghauser
b0e1520f47 Add inline html comments 2021-02-25 13:42:25 +01:00
Cédric Barreteau
f68567f7e2 ledger: update highlights 2021-02-23 22:34:59 +01:00
elianiva
25bb379a05 fix: missing erroneous end tag 2021-02-23 16:27:16 +01:00
elianiva
72d38fc44b refactor: use eq 2021-02-23 16:27:16 +01:00
elianiva
17a74e2055 feat: improved highlight + injections, cc @stsewd 2021-02-23 16:27:16 +01:00
Github Actions
46463fe53a [docgen] Update README.md
skip-checks: true
2021-02-23 16:27:16 +01:00
elianiva
a73e200abf feat: add support for svelte 2021-02-23 16:27:16 +01:00
kiyan
2d82a7fe07 add do statement to lua indents 2021-02-23 00:28:43 +01:00
kiyan
9e5fb44f84 health: add legend for x icon in query health 2021-02-22 23:32:11 +01:00
kiyan
dbe5441918 chore: rewrite healthcheck for compact output 2021-02-22 23:32:11 +01:00
Kassio Borges
f6b4c6b2d6 Ruby constants highlighted as Type
In ruby constants and types are usually highlighted the sameway.

Based on vim-ruby highlight.
https://github.com/vim-ruby/vim-ruby/blob/master/syntax/ruby.vim#L502
2021-02-22 21:08:49 +01:00
BonaBeavis
be9c4ab36d Fix indent size 2021-02-22 18:17:46 +01:00
echasnovski
079dafa36e Add "v", "V", "<C-v>" as valid options of selection_mode. 2021-02-21 20:25:26 +01:00
echasnovski
a34459213e Add selection_mode argument to ts_utils.update_selection(). 2021-02-21 20:25:26 +01:00
elianiva
1ab424d384 add formal_parameters
as suggested by p00f

Co-authored-by: Chinmay Dalal <chinmay.dalal.22012001@gmail.com>
2021-02-21 15:08:50 +01:00
elianiva
a1b51a67d5 feat: add java indent 2021-02-21 15:08:50 +01:00
Stephan Seitz
eaca722783 highlights(java): Highlight spread parameters 2021-02-19 23:41:42 +01:00
Stephan Seitz
5033d3668a highlights(java): fix constant highlighting (only UPPERCASE_LETTERS) 2021-02-19 23:41:42 +01:00
Github Actions
55cb17d5c4 [docgen] Update README.md
skip-checks: true
2021-02-19 23:41:42 +01:00
Hugo Osvaldo Barrera
5757f8a50d List myself as the Vue maintainer 2021-02-17 14:43:32 +01:00
Hugo Osvaldo Barrera
4847f5a5a7 Add support for folding Vue files 2021-02-17 14:43:32 +01:00
Hugo Osvaldo Barrera
ff7ec08a1e Add support for Vue files
I haven't included parsing the `style` tag, since the only applicable
queries we have are CSS (which actually works fine for SCSS too).
2021-02-17 14:43:32 +01:00
Hugo Osvaldo Barrera
6f25f2d8af List myself as maintainer for JSONC 2021-02-17 09:48:07 +01:00
Hugo Osvaldo Barrera
b811344574 Add README description for JSONC 2021-02-17 09:48:07 +01:00
Hugo Osvaldo Barrera
33a7a694d9 Add support for JSONC 2021-02-15 21:45:16 +01:00
Stephan Seitz
2655fc94b0 highlights(rst): Reset highlights in doctest_block 2021-02-15 15:36:33 -05:00
Santos Gallegos
34fdacc0e9 Json: update folds
Allow to fold mappings.
2021-02-13 21:29:37 +01:00
Santos Gallegos
5fab87f8a3 C: downgrade parser
Till we figure out what's happening.

Ref:

- https://github.com/tree-sitter/tree-sitter-c/commits/master
- https://github.com/nvim-treesitter/nvim-treesitter/issues/948
2021-02-12 19:25:46 +01:00
GitHub
e5facde11b Update lockfile.json 2021-02-12 08:29:45 +01:00
Stephan Seitz
2e3422df8e highlights(nix): fix for alias name of identifier in attrpath 2021-02-12 08:22:34 +01:00
Stephan Seitz
0940d15514 Fix parser config for nix 2021-02-12 08:22:34 +01:00
GitHub
56af22b897 Update lockfile.json 2021-02-12 08:22:34 +01:00
Santos Gallegos
2ad1f76b7d Query: highlight modeline
Matches the first comment and the beginning from the pattern
52397aaa0d/runtime/lua/vim/treesitter/query.lua (L25)
2021-02-12 08:02:00 +01:00
Stephan Seitz
db0ccfe9ab fix: remove debug print on query cache invalidation
The message does not even provide any context where it's coming from
and what it is exactly doing and has to be acknowledged when printed in
conjunction with the "wrote xxx bytes message"
2021-02-11 20:42:51 +01:00