summaryrefslogtreecommitdiffstats
path: root/syntax/go.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-06-11 16:52:26 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-06-11 16:52:26 +0200
commit7ffa793f199f457beac69fe4412734bd28dc0bbf (patch)
treef493fa7a3fd7b4ef322b99b7f422ad7c497ee2da /syntax/go.vim
parent4203435c48adfec7950f5b9ab745e87c5296e486 (diff)
downloadvim-polyglot-7ffa793f199f457beac69fe4412734bd28dc0bbf.tar.gz
vim-polyglot-7ffa793f199f457beac69fe4412734bd28dc0bbf.zip
Update
Diffstat (limited to 'syntax/go.vim')
-rw-r--r--syntax/go.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/go.vim b/syntax/go.vim
index e9634ba6..0c606ecc 100644
--- a/syntax/go.vim
+++ b/syntax/go.vim
@@ -147,7 +147,7 @@ hi def link goEscapeError Error
syn cluster goStringGroup contains=goEscapeOctal,goEscapeC,goEscapeX,goEscapeU,goEscapeBigU,goEscapeError
syn region goString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@goStringGroup
syn region goRawString start=+`+ end=+`+
-syn match goFormatSpecifier /%[#0\-\ \+\*]*[vTtbcdoqxXUeEfgGsp]/ contained containedin=goString
+syn match goFormatSpecifier /%[-#0 +]*\%(\*\|\d\+\)\=\%(\.\%(\*\|\d\+\)\)*[vTtbcdoqxXUeEfgGsp]/ contained containedin=goString
hi def link goString String
hi def link goRawString String