lmlorca
fb5d6e04a8
add @tag.attribute for html like attributes
2021-07-14 10:13:13 +02:00
Stephan Seitz
29113e6892
doc: be more explicit about additional_vim_regex_highlighting ( #1561 )
2021-07-13 18:08:57 -05:00
GitHub
b2008fcda1
Update lockfile.json
2021-07-13 16:27:49 +02:00
Santos Gallegos
2a0097828d
Query: update highlight queries ( #1553 )
...
This is to match https://github.com/nvim-treesitter/tree-sitter-query/pull/15
2021-07-13 14:09:12 +00:00
Santos Gallegos
647268183f
Highlights: define string.special ( #1551 )
...
* Highlights: define string.special
This was in our CONTRIBUTING.md file,
but wasn't defined.
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1405
* Use string.escape
2021-07-11 15:59:53 -05:00
Stephan Seitz
4571d57251
New stylua version ( #1555 )
2021-07-11 20:59:06 +00:00
github-actions[bot]
6ebeac9f03
Update lockfile.json ( #1554 )
...
Co-authored-by: GitHub <noreply@github.com>
2021-07-11 20:22:30 +00:00
Santos Gallegos
948fa6a260
Python: fix class highlights ( #1548 )
2021-07-11 15:06:52 -05:00
GitHub
f81c6a4595
Update lockfile.json
2021-07-11 21:54:24 +02:00
Munif Tanjim
f29ead00e6
highlights(jsx): fix constant identifier ( #1434 )
2021-07-10 19:56:10 -05:00
Mitchell Hanberg
f6cd2d0b2f
[elixir] Add folds ( #1543 )
2021-07-09 18:51:16 +00:00
Santos Gallegos
8eb8cc61e3
downcase predicate: nil protection
...
get_node_text could be nil if the range is invalid.
With https://github.com/neovim/neovim/pull/15030/
this fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1531
2021-07-09 20:05:37 +02:00
Andrew Helwer
08c6a3fb55
Add info about queries and filetype detection to Adding Parsers section of README ( #1533 )
...
* Updated Adding Parsers section of README
Added info about necessity of manually adding queries
Added info about filetype detection
* Updated troubleshooting section
Added suggestion to check for missing queries or filetype detection
2021-07-09 00:31:00 +00:00
Sergio Alejandro Vargas
a2b9b9bd9d
highlights(rust): Reorder macro queries
...
Derive macros have to be defined before attribute macros to highlight
them properly.
See #570
2021-07-08 23:37:38 +02:00
Stephan Seitz
6d18b93ce7
highlights(zig): highlight true,false
2021-07-08 23:37:00 +02:00
GitHub
d9baef30f3
Update lockfile.json
2021-07-08 22:09:59 +02:00
Munif Tanjim
97761acaff
Folds: support 'foldminlines'
2021-07-08 21:42:02 +02:00
Michael Hoffmann
61411b27c5
remove packer and nomad from hcl.used_by ( #1527 )
2021-07-07 18:12:41 -05:00
Cédric Barreteau
2e0baf40ad
Update ledger highlights
...
Add `check` keyword.
2021-07-07 23:18:45 +02:00
Santos Gallegos
989fc7aa6c
Lua: highlight function definitions
...
In lua
```lua
function foo() end
```
is syntax sugar for
```lua
foo = function() end
```
2021-07-07 23:17:43 +02:00
GitHub
d82e1735f2
Update lockfile.json
2021-07-07 22:09:31 +02:00
GitHub
377cb02eb0
Update lockfile.json
2021-07-07 21:52:11 +02:00
Sergio Alejandro Vargas
f3fab7498f
Add exception handling branches
2021-07-07 21:37:18 +02:00
Sergio Alejandro Vargas
a890c81a6b
Update Julia fold queries
2021-07-07 21:37:18 +02:00
Sergio Alejandro Vargas
6ec7516d3d
Add Julia indent queries
2021-07-07 21:37:18 +02:00
GitHub
c37e79803e
Update lockfile.json
2021-07-07 01:40:33 +02:00
Stephan Seitz
b7364d923b
CI: remove LLVM compilation from Mac CI
2021-07-07 01:06:37 +02:00
antonk52
55e36f4011
place template string after braces
2021-07-07 00:15:21 +02:00
Uy Ha
2815b6a033
[cmake] Add support for generator expression
2021-07-06 20:13:28 +02:00
GitHub
b392b73230
Update lockfile.json
2021-07-06 20:05:08 +02:00
Stephan Seitz
f280847b78
highlights(cuda): add support for __restrict__
2021-07-06 19:38:58 +02:00
Andrew He
901406cf7a
Folds: fix fold deduplication and improve start/stop logic
2021-07-06 19:00:59 +02:00
Stephan Seitz
dff252d32a
highlights(cpp): add static_assert
2021-07-06 18:48:08 +02:00
Samyak S Sarnayak
9799a80c55
fix(ecma): add indents to switch and cases
...
fixes nvim-treesitter#1384
2021-07-06 09:39:56 +02:00
Stephan Seitz
53d92f65bd
parsers: Teal now requires generate from grammar
2021-07-06 01:55:45 +02:00
GitHub
0a363c55d3
Update lockfile.json
2021-07-06 01:55:45 +02:00
Sergio Alejandro Vargas
820b4a9c21
Use @keyword.function consistently
2021-07-06 00:53:40 +02:00
Sergio Alejandro Vargas
017760113a
Highlights(python): Add @keyword.function
...
Use `@keyword.function` for `def` and `lambda`
2021-07-06 00:53:40 +02:00
Santos Gallegos
3413581b58
Docs: mention that indentation is still experimental
2021-07-05 19:26:35 +02:00
Santos Gallegos
f3d0bdcf6f
Docs: document additional_vim_regex_highlighting option
2021-07-05 19:24:05 +02:00
Santos Gallegos
437e41e9fc
Luacheck: use config file to exclude files
2021-07-05 12:39:32 +02:00
Santos Gallegos
8b876207e6
Update used_by for parent parsers
...
html_tags and ecma don't have a parser of they own,
but that's actually just to get around to inherit
common queries.
When editing these "base" queries,
the playground breaks. Having them in used_by would fix this.
2021-07-05 12:39:00 +02:00
Stephan Seitz
70f739c337
highlights(zig): highlight unreachable
2021-07-05 12:37:21 +02:00
Santos Gallegos
bd3363e01d
Checkhealth: include injections
...
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
2021-07-05 12:34:47 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code ( #1480 )
2021-07-04 21:12:17 +00:00
antonk52
90f15d9bf7
feat(keywords) merge return and yield into keyword.return group
2021-07-04 21:49:17 +02:00
antonk52
bd9095e969
feat(keywords) add keyword.return & keyword.yield
2021-07-04 21:49:17 +02:00
Omar Zeghouani
859c743296
locals: add more scopes
2021-07-04 21:48:20 +02:00
Github Actions
03f7bf7b49
[docgen] Update README.md
...
skip-checks: true
2021-07-04 21:17:48 +02:00
Stephan Seitz
45cb7ef290
highlights(zig): use @string.escape for escape sequences
2021-07-04 21:17:48 +02:00