aboutsummaryrefslogtreecommitdiffstats
path: root/queries/matlab
diff options
context:
space:
mode:
authorDimitris Dimitropoulos <dimitris.dimitropoulos00@gmail.com>2024-08-25 23:10:09 +0300
committerChristian Clason <c.clason@uni-graz.at>2024-08-25 22:42:41 +0200
commit39023b61d2eade04810b2188b2f3d4917b2886de (patch)
treebb374014714f08f9d557ea5edee40e855aa50137 /queries/matlab
parentfeat(proto): add indents (diff)
downloadnvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar.gz
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar.bz2
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar.lz
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar.xz
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.tar.zst
nvim-treesitter-39023b61d2eade04810b2188b2f3d4917b2886de.zip
feat(matlab): capture comment sections
Signed-off-by: Dimitris Dimitropoulos <dimitris.dimitropoulos00@gmail.com>
Diffstat (limited to 'queries/matlab')
-rw-r--r--queries/matlab/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/matlab/highlights.scm b/queries/matlab/highlights.scm
index 2740ef054..d2ab6053e 100644
--- a/queries/matlab/highlights.scm
+++ b/queries/matlab/highlights.scm
@@ -211,3 +211,6 @@
(comment)
(line_continuation)
] @comment @spell
+
+((comment) @keyword.directive
+ (#lua-match? @keyword.directive "^%%%% "))