runtime(go): Update Go syntax file with 1.21 builtins (#12876)
Commit:
https://github.com/vim/vim/commit/b0d584d97ab6f5cb070caba3882ba387b81448c1
Author: José-Paul D <[email protected]>
Date: Tue Aug 22 20:29:19 2023 +0200
runtime(go): Update Go syntax file with 1.21 builtins
(https://github.com/vim/vim/issues/12876)
* Update Go syntax file with 1.21 builtins
diff --git a/runtime/syntax/go.vim b/runtime/syntax/go.vim
index bf967fdcd..4272e807f 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 <[email protected]>
-" 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qYW8k-00DmJT-Tp%40256bit.org.