mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
go: add builtin functions
This commit is contained in:
parent
11ede1c0d2
commit
df81a91ba9
1 changed files with 7 additions and 0 deletions
|
|
@ -102,6 +102,13 @@
|
||||||
"type" @keyword
|
"type" @keyword
|
||||||
"var" @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
|
; Delimiters
|
||||||
|
|
||||||
"." @punctuation.delimiter
|
"." @punctuation.delimiter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue