aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/matlab
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-09-21 16:59:47 -0700
committerGitHub <noreply@github.com>2025-09-21 16:59:47 -0700
commit6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94 (patch)
treea6ce1c753112bfca1be1da866962e9de3e3cd898 /runtime/queries/matlab
parentfeat(koto)!: update parser and queries (diff)
downloadnvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar.gz
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar.bz2
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar.lz
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar.xz
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.tar.zst
nvim-treesitter-6ac9f2e51270cd6f57c4783a36c60cd03e4cfb94.zip
fix: align line continuation highlights (#8146)
These should be `@punctuation.special`. Added the highlight for python, cylc, and make. Corrected it for earthfile and matlab.
Diffstat (limited to 'runtime/queries/matlab')
-rw-r--r--runtime/queries/matlab/highlights.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/queries/matlab/highlights.scm b/runtime/queries/matlab/highlights.scm
index 66ec69465..05713e05a 100644
--- a/runtime/queries/matlab/highlights.scm
+++ b/runtime/queries/matlab/highlights.scm
@@ -211,10 +211,9 @@
(#eq? @boolean "false"))
; Comments
-[
- (comment)
- (line_continuation)
-] @comment @spell
+(comment) @comment @spell
+
+(line_continuation) @punctuation.special
((comment) @keyword.directive
(#lua-match? @keyword.directive "^%%%% "))