aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-23 10:10:07 +0900
committerChristian Clason <c.clason@uni-graz.at>2023-08-24 11:33:06 +0900
commit4ca8b90b14b653e30db91d745f8145eab6a9e6f1 (patch)
treedd376c31034bde773a1a72569e968aa219c1d57d
parent0b7e1730bcd4c6ec1b55d541bc612445a4ff0c65 (diff)
downloadrneovim-4ca8b90b14b653e30db91d745f8145eab6a9e6f1.tar.gz
rneovim-4ca8b90b14b653e30db91d745f8145eab6a9e6f1.tar.bz2
rneovim-4ca8b90b14b653e30db91d745f8145eab6a9e6f1.zip
vim-patch:b0d584d97ab6
runtime(go): Update Go syntax file with 1.21 builtins (vim/vim#12876) * Update Go syntax file with 1.21 builtins https://github.com/vim/vim/commit/b0d584d97ab6f5cb070caba3882ba387b81448c1 Co-authored-by: José-Paul D <fixed.combinator@gmail.com>
-rw-r--r--runtime/syntax/go.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/go.vim b/runtime/syntax/go.vim
index bf967fdcd9..4272e807f3 100644
--- a/runtime/syntax/go.vim
+++ b/runtime/syntax/go.vim
@@ -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