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
kraftwerk28
09045354c0
Add generator functions to ecma queries
2021-03-23 23:37:11 +01:00
Corey Williamson
548a0d8d7f
Update teal highlights
2021-03-23 22:20:30 +01:00
Himujjal
597ec69378
Added Zig grammar
2021-03-23 12:36:34 +01:00
Christian Clason
ebdd43b68d
add basic queries for bibtex
2021-03-22 22:19:10 +01:00
shirasaka
71e3391a8c
Add indents for php
2021-03-22 18:02:10 +01:00
Brian Ryall
600509aad6
delete locals queries for beancount
2021-03-22 07:11:10 +01:00
Brian Ryall
900222e1ad
fix invalid annotation in beancount query
2021-03-22 07:11:10 +01:00
Brian Ryall
fb75f01941
add support for beancount files
2021-03-22 07:11:10 +01:00
Yuki Ito
0c12ff67fe
rust: tread , as a punctuation delimiter
2021-03-22 07:07:27 +01:00
Tormod Alf Try Tufteland
db67f5e517
attribute in stead of annotation
2021-03-20 17:52:07 +01:00
Tormod Alf Try Tufteland
8b4b07c55b
kotlin: updated parser, and added annotation highlight again
2021-03-20 17:52:07 +01:00
Yuki Ito
b818ace315
go: add builtin types
2021-03-19 13:48:24 +01:00
Hanh Le
5f97c41c54
Update injections.scm
2021-03-18 18:37:04 +01:00
NullVoxPopuli
76c1cab7ab
Update glimmer queries from plugin
...
Maybe there is a way to read this file from the plugin directly?
2021-03-18 04:03:53 +01:00
Stephan Seitz
2cd1eb6e2a
Update Kotlin parser
2021-03-16 18:52:43 +01:00
Stephan Seitz
acbb453f57
Update verilog to 0.19.2
2021-03-16 18:52:43 +01:00
Stephan Seitz
cb14ffa103
highlights(query): Add modeline query after bugfix
2021-03-16 18:52:43 +01:00
Stephan Seitz
f455980b69
Re-add OCaml query that lead to crash before tree-sitter fix
...
Ref: https://github.com/tree-sitter/tree-sitter/issues/968#issuecomment-792932744
2021-03-16 18:52:43 +01:00
Stephan Seitz
0894b5d0bd
Fix C++ locals
2021-03-16 18:52:43 +01:00
Stephan Seitz
fac9fef397
Update jsonc to 0.19.0
2021-03-16 18:52:43 +01:00
Stephan Seitz
49f2b33687
Fix fennel queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
6cf578084d
Remove invalid dart query
2021-03-16 18:52:43 +01:00
Stephan Seitz
6cd211f647
Mark several invalid queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
e3a863bd1c
Fix readonly keyword in typescript
2021-03-16 18:52:43 +01:00
Stephan Seitz
c7e8f76f3c
Fix invalid node type in CSS queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
080b6476fe
Fix ocaml queries
2021-03-16 18:52:43 +01:00
Stephan Seitz
532a369b32
Mark parsers with NPM dependency
2021-03-16 18:52:43 +01:00
Stephan Seitz
a2f524887c
Remove some broken queries
2021-03-16 18:52:43 +01:00
echasnovski
51c7e9d785
Add definition.parameter query to 'r/locals.scm'.
2021-03-16 18:52:43 +01:00
echasnovski
702114270b
Update queries for R language.
2021-03-16 18:52:43 +01:00
echasnovski
773ec8eefc
Add support for R language.
2021-03-16 18:52:43 +01:00
Yuki Ito
df81a91ba9
go: add builtin functions
2021-03-16 17:45:29 +01:00
Ivo Dancet
11ede1c0d2
folds support and somewhat better indents for ruby
2021-03-15 19:54:30 +01:00
Santos Gallegos
065ff440d4
Rust: add mod_item to folds
2021-03-15 19:23:59 +01:00
Rohit Pradhan
0e3dd8d3fa
Rust: Add variable and closure parameter highlights
2021-03-15 19:02:39 +01:00
Rohit Pradhan
0bab8e56b2
Ecma: Highlight single-argument callback parameter
2021-03-15 19:02:39 +01:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
kiyan
3b8c2ea492
chore: create ecma base for use in js and ts which fixes jsx issues
2021-03-10 17:34:11 +01:00
Lewis Russell
f41459b300
teal: Add C language injection for FFI
2021-03-09 00:45:02 +01:00
elianiva
d0ea01bed9
feat(dart): add indents
2021-03-08 23:13:27 +01:00
Dennis B
a74da044a8
Highlight Julia symbol expressions as TSSymbol
2021-03-04 06:19:40 +01:00
Dennis B
aca33c0aca
[highlights] Add TSSymbol highlight group
...
Addresses issue #892
Ruby and Dart literal symbols will now be highlighted by the new
TSSymbol highlight group, which itself will, by default, link to the Vim
Identifier highlight group. Vim theme authors can then set their
TSSymbol colors.
Symbol highlighting can apply to a number of languages as noted in the
following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming)
Not just for Ruby and Dart.
2021-03-04 06:19:40 +01:00
Stephan Seitz
866f39bb71
highlights(c): update declaration and cast_expression
2021-03-02 16:55:18 +01:00
Brian Shu
d162a83d82
removed duplicate
2021-03-01 23:35:25 +01:00
Brian Shu
8b4d267677
changed toml and query
2021-03-01 23:35:25 +01:00
Brian Shu
7ffcaf4ee8
fixed rust match indents
2021-03-01 23:35:25 +01:00
elianiva
0bf8f58cd2
feat: use @ignore for comments and multiline strings
2021-03-01 23:28:53 +01:00