aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2024-03-11 18:55:36 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-03-13 11:09:54 +0800
commit6576041660226bd80c51e2a3510c8e18e6ce3f13 (patch)
tree149fa1aa2d0380029b733fd77fc0792cb37a5fa6
parentfeat(swift): add init/deinit indents (diff)
downloadnvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar.gz
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar.bz2
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar.lz
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar.xz
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.tar.zst
nvim-treesitter-6576041660226bd80c51e2a3510c8e18e6ce3f13.zip
feat(vimdoc): highlight modeline
-rw-r--r--lockfile.json2
-rw-r--r--queries/vimdoc/highlights.scm2
2 files changed, 3 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json
index c8037e67f..39af4391c 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -762,7 +762,7 @@
"revision": "052279cd5e1d73b075640c64cef97e7bdcd32611"
},
"vimdoc": {
- "revision": "016ad75faa854e4e13bc40c517015183b795eed9"
+ "revision": "90a396267e117835c778bdbda6f7db86b601d829"
},
"vue": {
"revision": "3b9d52087100bdfce43dad2ca46d75b0e21613f6"
diff --git a/queries/vimdoc/highlights.scm b/queries/vimdoc/highlights.scm
index 21b2b98c6..a1c14f02e 100644
--- a/queries/vimdoc/highlights.scm
+++ b/queries/vimdoc/highlights.scm
@@ -49,6 +49,8 @@
(url) @string.special.url
+(modeline) @keyword.directive
+
((note) @comment.note
(#any-of? @comment.note "Note:" "NOTE:" "Notes:"))