mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -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 = {
|
||||
install_info = {
|
||||
revision = 'eb2796871d966264cdb041b797416ef1757c8b4f',
|
||||
revision = 'cb42835385ac6d4fc64fd7b3f962591b928ccc7d',
|
||||
url = 'https://github.com/simonvic/tree-sitter-enforce',
|
||||
},
|
||||
maintainers = { '@simonvic' },
|
||||
|
|
|
|||
|
|
@ -28,12 +28,12 @@
|
|||
|
||||
; Preprocessor directives
|
||||
[
|
||||
(include)
|
||||
(define)
|
||||
(ifdef)
|
||||
(ifndef)
|
||||
(else)
|
||||
(endif)
|
||||
(preproc_include)
|
||||
(preproc_define)
|
||||
(preproc_ifdef)
|
||||
(preproc_ifndef)
|
||||
(preproc_else)
|
||||
(preproc_endif)
|
||||
] @keyword.directive
|
||||
|
||||
(preproc_const) @constant.macro
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue