diff options
author | Michael Davis | 2024-03-17 15:43:35 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2024-03-18 01:34:53 +0000 |
commit | 4ffe9935339a2bd3085720ef6bea62678e9d7e95 (patch) | |
tree | 9ddc56b3c528af3fe2ec3ba63e5b4d53de126a6f /runtime/queries/go | |
parent | 38af99f05f76dfcdb36e5b498a64b8c39b2fa27a (diff) |
Fix malformed predicates in highlighting queries
Diffstat (limited to 'runtime/queries/go')
-rw-r--r-- | runtime/queries/go/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/go/highlights.scm b/runtime/queries/go/highlights.scm index 8eed12af..7dc20e69 100644 --- a/runtime/queries/go/highlights.scm +++ b/runtime/queries/go/highlights.scm @@ -2,7 +2,7 @@ (call_expression function: (identifier) @function.builtin - (match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$")) + (#match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$")) (call_expression function: (identifier) @function) @@ -19,7 +19,7 @@ name: (identifier) @type.parameter)) ((type_identifier) @type.builtin - (match? @type.builtin "^(any|bool|byte|comparable|complex128|complex64|error|float32|float64|int|int16|int32|int64|int8|rune|string|uint|uint16|uint32|uint64|uint8|uintptr)$")) + (#match? @type.builtin "^(any|bool|byte|comparable|complex128|complex64|error|float32|float64|int|int16|int32|int64|int8|rune|string|uint|uint16|uint32|uint64|uint8|uintptr)$")) (type_identifier) @type |