aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuki Ito <mrno110y@gmail.com>2025-02-20 01:28:07 +0900
committerGitHub <noreply@github.com>2025-02-19 17:28:07 +0100
commite5588abcfa4d7fc28ce615b4334338bbd25a386b (patch)
treea6bfebbdb583fefc7df8ebaa06a66969e0188b0d
parentfix(earthfile): adapt to new default branch (with external scanner) (diff)
downloadnvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar.gz
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar.bz2
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar.lz
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar.xz
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.tar.zst
nvim-treesitter-e5588abcfa4d7fc28ce615b4334338bbd25a386b.zip
feat(gomod): support `tool` directive (#7649)
-rw-r--r--queries/gomod/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/gomod/highlights.scm b/queries/gomod/highlights.scm
index ff33df3ab..b30be0944 100644
--- a/queries/gomod/highlights.scm
+++ b/queries/gomod/highlights.scm
@@ -14,6 +14,10 @@
(module_path) @string.special.url
+(tool_directive) @keyword.directive
+
+(tool) @string.special.url
+
[
(version)
(go_version)