diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index a76195b5..88732ab1 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1367,7 +1367,7 @@ return { }, matlab = { install_info = { - revision = 'da410185c1fabf823ab92798590f9a6606e5699b', + revision = '93020b226bf341de02336cdf1c19a7ce0b509cf2', 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 d2ab6053..91fdae2a 100644 --- a/runtime/queries/matlab/highlights.scm +++ b/runtime/queries/matlab/highlights.scm @@ -134,7 +134,8 @@ (identifier) @function) (validation_functions - (identifier) @function) + (property_name + (identifier) @function)) (command (command_name) @function.call)