mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
||||
"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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue