diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index ea48f3ad..3abe166a 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 91fdae2a..66ec6946 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 [