diff options
| author | Yuki Ito <mrno110y@gmail.com> | 2021-03-16 23:20:06 +0900 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-03-16 17:45:29 +0100 |
| commit | df81a91ba9e6ae29a70e168b49e21dc1835c0948 (patch) | |
| tree | a3db29a6aa3d74acfcbf186e539a23a77b6315b9 /queries | |
| parent | 11ede1c0d2ab30ca1b637e31892a12e042a73965 (diff) | |
go: add builtin functions
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/go/highlights.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm index c9229eb2..546f6fa9 100644 --- a/queries/go/highlights.scm +++ b/queries/go/highlights.scm @@ -102,6 +102,13 @@ "type" @keyword "var" @keyword + +;; Builtin functions + +((identifier) @function.builtin + (#match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$")) + + ; Delimiters "." @punctuation.delimiter |
