diff options
| author | Amaan Qureshi <amaanq12@gmail.com> | 2023-08-31 06:08:07 -0400 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2023-08-31 14:02:31 +0300 |
| commit | 9361484fa465529b0e646f947fe07bc7e80bfa62 (patch) | |
| tree | e1eeb5e39d671c629b4b21905dfac08b67fe490a | |
| parent | feat: add NQC (diff) | |
| download | nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar.gz nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar.bz2 nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar.lz nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar.xz nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.tar.zst nvim-treesitter-9361484fa465529b0e646f947fe07bc7e80bfa62.zip | |
feat(doxygen): update queries from upstream
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/doxygen/highlights.scm | 13 | ||||
| -rw-r--r-- | queries/doxygen/injections.scm | 2 |
3 files changed, 13 insertions, 4 deletions
diff --git a/lockfile.json b/lockfile.json index f4a73d48a..0d32e1b32 100644 --- a/lockfile.json +++ b/lockfile.json @@ -108,7 +108,7 @@ "revision": "9ab85550c896d8b294d9b9ca1e30698736f08cea" }, "doxygen": { - "revision": "7ac6203cc018ff440b45b6d5aeba596f02eec4d5" + "revision": "a750758da90955c86fcc22fcbb6fa44a7d009865" }, "dtd": { "revision": "9deacbfb79cb3527a0396255beb17e1bba3f2052" diff --git a/queries/doxygen/highlights.scm b/queries/doxygen/highlights.scm index de0fc3e5d..42d76a448 100644 --- a/queries/doxygen/highlights.scm +++ b/queries/doxygen/highlights.scm @@ -1,6 +1,11 @@ ((tag_name) @keyword (#set! "priority" 105)) +[ + "@code" + "@endcode" +] @keyword + (identifier) @variable ((tag @@ -14,7 +19,10 @@ (emphasis) @text.emphasis -"\\a" @tag +[ + "\\a" + "\\c" +] @tag (code_block_language) @label @@ -33,12 +41,13 @@ ] @tag [ + "." "," "::" (code_block_start) (code_block_end) ] @punctuation.delimiter -[ "(" ")" "[" "]" ] @punctuation.bracket +[ "(" ")" "{" "}" "[" "]" ] @punctuation.bracket (code_block_content) @none diff --git a/queries/doxygen/injections.scm b/queries/doxygen/injections.scm index 7dba61097..8353dfd7a 100644 --- a/queries/doxygen/injections.scm +++ b/queries/doxygen/injections.scm @@ -1,7 +1,7 @@ ((type) @injection.content (#set! injection.parent)) -((function_link) @injection.content +([ (function_link) (code) ] @injection.content (#set! injection.parent)) ((link) @injection.content |
