vim-patch:b0d584d97ab6

runtime(go): Update Go syntax file with 1.21 builtins (vim/vim#12876)

* Update Go syntax file with 1.21 builtins

b0d584d97a

Co-authored-by: José-Paul D <fixed.combinator@gmail.com>
This commit is contained in:
Christian Clason 2023-08-23 10:10:07 +09:00
parent 0b7e1730bc
commit 4ca8b90b14

View File

@ -5,7 +5,7 @@
" go.vim: Vim syntax file for Go.
" Language: Go
" Maintainer: Billie Cleek <bhcleek@gmail.com>
" Latest Revision: 2023-02-19
" Latest Revision: 2023-08-21
" License: BSD-style. See LICENSE file in source repository.
" Repository: https://github.com/fatih/vim-go
@ -130,8 +130,8 @@ hi def link goFloats Type
hi def link goComplexes Type
" Predefined functions and values
syn keyword goBuiltins append cap close complex copy delete imag len
syn keyword goBuiltins make new panic print println real recover
syn keyword goBuiltins append cap clear close complex copy delete imag len
syn keyword goBuiltins make max min new panic print println real recover
syn keyword goBoolean true false
syn keyword goPredefinedIdentifiers nil iota