Commit graph

3452 commits

Author SHA1 Message Date
GitHub
168567efb8 Update parsers: wgsl_bevy"] 2022-12-31 15:31:24 +01:00
Stephan Seitz
5afa9e5040 highlights(wgsl): highlight "->" for return types as @punctuation.delimiter 2022-12-31 15:20:02 +01:00
Stephan Seitz
817531ce6f parsers: add wgsl_bevy
This adds an extension of tree-sitter-wgsl that understands
[Bevy's](https://bevyengine.org/) preprocessor directives.
2022-12-31 15:19:48 +01:00
Stephan Seitz
29304e16bb fix: show errors when reload after installation fails 2022-12-31 13:59:18 +01:00
Stephan Seitz
0598450eb8 feat: also reload parsers after uninstallation 2022-12-31 13:59:18 +01:00
Stephan Seitz
c2301adfcb highlights(cuda): add missing "__global__" 2022-12-31 13:58:33 +01:00
Pedro Castro
6d2b0bd381 move 'in' to repeat 2022-12-31 13:50:47 +01:00
Pedro Castro
ec3d4af104 fix test 2022-12-31 13:50:47 +01:00
Pedro Castro
966393dc38 r: move inf to constant.builtin 2022-12-31 13:50:47 +01:00
Pedro Castro
58c0d78de8 r: update highlights 2022-12-31 13:50:47 +01:00
Stephan Seitz
ae5ab287bb docs: link to Matrix instead of Zulip 2022-12-31 13:48:23 +01:00
github-actions[bot]
f00d610256
Update parsers: qmljs (#4064)
Co-authored-by: GitHub <noreply@github.com>
2022-12-31 10:21:11 +00:00
Michael Hoffmann
ee3e9f4dc0 feat(hcl,terraform): split terraform from hcl, add specialized queries for tf
This enables us to have different queries for
terraform and general hcl. It solve the situation
where other dialects of hcl (nomad, packer, etc)
might use a terraform keyword and get highlighted
out of place.
2022-12-29 22:18:41 +01:00
GitHub
c06baac6a1 Update parsers: astro, ocaml, ocaml_interface 2022-12-29 21:22:14 +01:00
Ananda Umamil
e5dd204291 highlights(haskell): lambda and function with type signature 2022-12-29 21:04:14 +01:00
GitHub
fb36ed4c9e Update parsers: tlaplus 2022-12-27 18:00:12 +01:00
Stephan Seitz
41e013dd9a ci: improve CI output on query error 2022-12-27 17:52:29 +01:00
Christian Clason
fa09c1f3ef Update slint indent queries 2022-12-27 17:52:29 +01:00
Jared Moulton
55a9e3bbbc Update slint highlight queries for rewrite 2022-12-27 17:52:29 +01:00
Jared Moulton
57e9e48f88 update lockfile (slint) 2022-12-27 17:52:29 +01:00
Sergio A. Vargas
0cb637ca9f
julia: update parser and highlights (#4035)
- Update patterns for type definitions:
  The grammar was updated to parse `abstract type` and `primitive type`
  as a single token.
- Update @symbol capture to highlight quoted operators as symbols.
- Add pattern to highlight adjoint operator.
- Update patterns and captures for:
  - "keyword" operators (in, isa, where)
  - type operators (<:, >:)
  - Parametrized types.
2022-12-27 10:27:22 +01:00
Stephan Seitz
7c9ddb72d1 feat: allow hot-reloading parser after installation 2022-12-26 15:36:16 +01:00
Stephan Seitz
f0a1c3df24 fix: require_language is needed after installation to update Vim's language table
Fixes #4026
2022-12-26 15:36:16 +01:00
Stephan Seitz
cf60564891 fix: do vim.treesitter.start() on highlight module attach
Fixes #4026
2022-12-26 13:42:11 +01:00
GitHub
a2d7e78b07 Update parsers: hlsl 2022-12-25 17:53:07 +01:00
Lucario387
f5d517f4a7 Fix(vue): Invalid match queries 2022-12-25 17:43:25 +01:00
Lucario387
8abb563ca9 Fix(vue): Invalid match queries 2022-12-25 17:43:25 +01:00
Philip Gaudreau
4bcd3a3cc3 Fix update_selection 2022-12-25 14:58:57 +01:00
Lucario387
bbd7ecb25d add test file 2022-12-25 14:58:33 +01:00
Lucario387
4547a3687c injections(vue): Update injection queries 2022-12-25 14:58:33 +01:00
Stephan Seitz
f2b1d727e6 chore: update usage vim.split to new signature
Old usage was still working because of backward compatibility of nvim
code:
```lua
if type(kwargs) == 'boolean' then
  -- Support old signature for backward compatibility
  plain = kwargs
else
```
`:h vim-split()`
https://neovim.io/doc/user/lua.html#vim.split()
2022-12-25 14:57:32 +01:00
Stephan Seitz
48a3da7103 highlights(c_sharp): add ">>>" ">>>="
From upstream change https://github.com/tree-sitter/tree-sitter-c-sharp/pull/266/files
2022-12-24 12:22:23 +01:00
github-actions[bot]
cf6b5cb1ed
Update parsers: c_sharp (#4023)
Co-authored-by: GitHub <noreply@github.com>
2022-12-23 22:15:17 +00:00
Rishi
381573a9d6 Inherit folds for SCSS from CSS 2022-12-23 22:31:52 +01:00
figsoda
06989a933e injections(nix): combine injections to work better with interpolations 2022-12-23 13:08:05 +01:00
figsoda
668dec2903 highlights(nix): improve builtins and exceptions highlights 2022-12-23 13:08:05 +01:00
figsoda
90edaba46a highlights(nix): add all builtins 2022-12-23 13:08:05 +01:00
figsoda
df67a47a7e highlights(nix): improve highlights 2022-12-23 13:08:05 +01:00
figsoda
a851cef248 injections(nix): fix runCommand* 2022-12-23 13:08:05 +01:00
github-actions[bot]
7f7b5778ff
Update parsers: c_sharp (#4019)
Co-authored-by: GitHub <noreply@github.com>
2022-12-23 09:44:32 +00:00
Sergio A. Vargas
82cff67988
julia: update parser and highlights (#4016)
- Replace `scoped_identifier` with `field_expression` in function names
- Replace true and false with `boolean_literal`
2022-12-23 10:34:24 +01:00
GitHub
895d4a1202 Update parsers: c_sharp 2022-12-22 22:50:38 +01:00
Lucario387
eaeedfb804 Fix vue injection queries 2022-12-22 17:43:44 +01:00
GitHub
6f9e5cdba7 Update parsers: ada, c_sharp 2022-12-22 15:09:24 +01:00
Emmanuel Briot
23906e8838 feat: add Ada 2022-12-22 14:46:53 +01:00
Stephan Seitz
779b4222a3 injections(go): inject regex into some regexp functions 2022-12-22 10:12:14 +01:00
GitHub
38845442b7 Update parsers: c_sharp, t32 2022-12-22 09:36:09 +01:00
GitHub
9efc2dffc3 Update parsers: c_sharp 2022-12-21 23:57:53 +01:00
xasc
2d48cbc831 feat(t32): initial support 2022-12-21 23:57:06 +01:00
GitHub
51df4212e7 Update parsers: c_sharp 2022-12-21 23:48:11 +01:00