mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(starlark): improve assertion parsing
This commit is contained in:
parent
316200f77d
commit
418caac89d
2 changed files with 6 additions and 2 deletions
|
|
@ -405,7 +405,7 @@
|
|||
"revision": "672fe6b5180d20e9e84fd61749cc3e083e88d9d9"
|
||||
},
|
||||
"starlark": {
|
||||
"revision": "2608deac514242c9e7e5609cbfab59095997b1da"
|
||||
"revision": "8ad93a74c2a880bc16325affba3cc66c14bb2bde"
|
||||
},
|
||||
"supercollider": {
|
||||
"revision": "90c6d9f777d2b8c4ce497c48b5f270a44bcf3ea0"
|
||||
|
|
|
|||
|
|
@ -218,7 +218,6 @@
|
|||
] @keyword.function
|
||||
|
||||
[
|
||||
"assert"
|
||||
"async"
|
||||
"await"
|
||||
"exec"
|
||||
|
|
@ -256,6 +255,11 @@
|
|||
|
||||
;; Starlark-specific
|
||||
|
||||
;; Assertion calls
|
||||
(assert_keyword) @keyword
|
||||
|
||||
(assert_builtin) @function.builtin
|
||||
|
||||
;; Struct definitions
|
||||
((call
|
||||
function: (identifier) @_func
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue