diff --git a/crates/languages/src/go/highlights.scm b/crates/languages/src/go/highlights.scm index 5d630cbdfc746b56320cd5083222897d84dbf528..e861625ecc7bfa5b72ab0fa15df401305258510a 100644 --- a/crates/languages/src/go/highlights.scm +++ b/crates/languages/src/go/highlights.scm @@ -138,3 +138,11 @@ ] @constant.builtin (comment) @comment + +; Go directives +((comment) @preproc + (#match? @preproc "^//go:")) + +((comment) @preproc + (#match? @preproc "^// \\+build")) +