Mercurial > forks > helix
changeset 6748:f1e113eff6fb
fix(highlights/go): defer, go, goto are keywords (#13425)
author | Jonas K?hnen <mail@satoqz.net> |
---|---|
date | Sun, 27 Apr 2025 20:23:47 +0200 |
parents | 9f05629100d9 |
children | 4d779359617c |
files | runtime/queries/go/highlights.scm |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/queries/go/highlights.scm Sun Apr 27 15:41:16 2025 +0200 +++ b/runtime/queries/go/highlights.scm Sun Apr 27 20:23:47 2025 +0200 @@ -114,6 +114,12 @@ ] @keyword [ + "defer" + "go" + "goto" +] @keyword.control + +[ "if" "else" "switch" @@ -154,12 +160,6 @@ "const" ] @keyword.storage.modifier -[ - "defer" - "goto" - "go" -] @function.macro - ; Delimiters [