diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-08-29 14:50:43 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-08-29 14:54:38 +0200 |
| commit | 16da7ded58b41a4c320f32661264c6283ce8cd18 (patch) | |
| tree | 31f9a332e168646aaa42a4f3c57260ccf22f2ca7 | |
| parent | feat(parsers): update bash, c, clojure, cpp, embedded_template, gap, go, html... (diff) | |
| download | nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar.gz nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar.bz2 nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar.lz nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar.xz nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.tar.zst nvim-treesitter-16da7ded58b41a4c320f32661264c6283ce8cd18.zip | |
feat(matlab)!: update parser and queries
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/matlab/highlights.scm | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index ea48f3ad1..3abe166a1 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1367,7 +1367,7 @@ return { }, matlab = { install_info = { - revision = '93020b226bf341de02336cdf1c19a7ce0b509cf2', + revision = '96a3e8fb0a4ebd0db64db6b52043483937e9ca3a', url = 'https://github.com/acristoffers/tree-sitter-matlab', }, maintainers = { '@acristoffers' }, diff --git a/runtime/queries/matlab/highlights.scm b/runtime/queries/matlab/highlights.scm index 91fdae2a9..66ec69465 100644 --- a/runtime/queries/matlab/highlights.scm +++ b/runtime/queries/matlab/highlights.scm @@ -134,8 +134,7 @@ (identifier) @function) (validation_functions - (property_name - (identifier) @function)) + (identifier) @function) (command (command_name) @function.call) @@ -205,7 +204,11 @@ (number) @number -(boolean) @boolean +((identifier) @boolean + (#eq? @boolean "true")) + +((identifier) @boolean + (#eq? @boolean "false")) ; Comments [ |
