mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
feat(enforce)!: update parser and queries
Breaking change: rename directive nodes `(foo)` to `(preproc_foo)`.
This commit is contained in:
parent
3e1f54c1ce
commit
ef7a00503b
2 changed files with 7 additions and 7 deletions
|
|
@ -511,7 +511,7 @@ return {
|
||||||
},
|
},
|
||||||
enforce = {
|
enforce = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = 'eb2796871d966264cdb041b797416ef1757c8b4f',
|
revision = 'cb42835385ac6d4fc64fd7b3f962591b928ccc7d',
|
||||||
url = 'https://github.com/simonvic/tree-sitter-enforce',
|
url = 'https://github.com/simonvic/tree-sitter-enforce',
|
||||||
},
|
},
|
||||||
maintainers = { '@simonvic' },
|
maintainers = { '@simonvic' },
|
||||||
|
|
|
||||||
|
|
@ -28,12 +28,12 @@
|
||||||
|
|
||||||
; Preprocessor directives
|
; Preprocessor directives
|
||||||
[
|
[
|
||||||
(include)
|
(preproc_include)
|
||||||
(define)
|
(preproc_define)
|
||||||
(ifdef)
|
(preproc_ifdef)
|
||||||
(ifndef)
|
(preproc_ifndef)
|
||||||
(else)
|
(preproc_else)
|
||||||
(endif)
|
(preproc_endif)
|
||||||
] @keyword.directive
|
] @keyword.directive
|
||||||
|
|
||||||
(preproc_const) @constant.macro
|
(preproc_const) @constant.macro
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue