diff options
| author | Christian Clason <christian.clason@uni-due.de> | 2021-09-22 15:12:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-22 06:12:06 -0700 |
| commit | fb6f27e86f2ca2fbff88737251d9e26016a62081 (patch) | |
| tree | f265d2030c1cbebe73d03cd95763af4e0be07eb3 /runtime/syntax/go.vim | |
| parent | e8fb0728e220bb378a8689415c3915fe5912e987 (diff) | |
| download | rneovim-fb6f27e86f2ca2fbff88737251d9e26016a62081.tar.gz rneovim-fb6f27e86f2ca2fbff88737251d9e26016a62081.tar.bz2 rneovim-fb6f27e86f2ca2fbff88737251d9e26016a62081.zip | |
vim-patch:34cc7d8c034f #15753
Update runtime files
https://github.com/vim/vim/commit/34cc7d8c034f2bc5b57455577051db8d72e2b87c
Diffstat (limited to 'runtime/syntax/go.vim')
| -rw-r--r-- | runtime/syntax/go.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/go.vim b/runtime/syntax/go.vim index 1439487f69..0c326254b8 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: 2021-06-26 +" Latest Revision: 2021-09-18 " License: BSD-style. See LICENSE file in source repository. " Repository: https://github.com/fatih/vim-go @@ -250,7 +250,7 @@ syn match goDecimalError "\<-\=\(_\(\d\+_*\)\+\|\([1-9]\d*_*\)\+__\(\ syn match goHexadecimalInt "\<-\=0[xX]_\?\(\x\+_\?\)\+\>" syn match goHexadecimalError "\<-\=0[xX]_\?\(\x\+_\?\)*\(\([^ \t0-9A-Fa-f_)]\|__\)\S*\|_\)\>" syn match goOctalInt "\<-\=0[oO]\?_\?\(\o\+_\?\)\+\>" -syn match goOctalError "\<-\=0[0-7oO_]*\(\([^ \t0-7oOxX_/)\]\}\:]\|[oO]\{2,\}\|__\)\S*\|_\|[oOxX]\)\>" +syn match goOctalError "\<-\=0[0-7oO_]*\(\([^ \t0-7oOxX_/)\]\}\:;]\|[oO]\{2,\}\|__\)\S*\|_\|[oOxX]\)\>" syn match goBinaryInt "\<-\=0[bB]_\?\([01]\+_\?\)\+\>" syn match goBinaryError "\<-\=0[bB]_\?[01_]*\([^ \t01_)]\S*\|__\S*\|_\)\>" @@ -430,7 +430,7 @@ endif " Build Constraints if s:HighlightBuildConstraints() - syn match goBuildKeyword display contained "+build" + syn match goBuildKeyword display contained "+build\|go:build" " Highlight the known values of GOOS, GOARCH, and other +build options. syn keyword goBuildDirectives contained \ android darwin dragonfly freebsd linux nacl netbsd openbsd plan9 |