diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-26 13:52:55 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-07-26 13:52:55 +0200 |
commit | 041ab2d237f26e0fbe35612f67731221781ffe5d (patch) | |
tree | 5a70c00bc7586b79b53b79db0b13d33ce92b7f30 | |
parent | acd25ccf95f25ce2d93c92a45c9229531539249d (diff) | |
download | vim-polyglot-041ab2d237f26e0fbe35612f67731221781ffe5d.tar.gz vim-polyglot-041ab2d237f26e0fbe35612f67731221781ffe5d.zip |
Update
-rw-r--r-- | syntax/go.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/syntax/go.vim b/syntax/go.vim index b9b6f705..78143429 100644 --- a/syntax/go.vim +++ b/syntax/go.vim @@ -308,7 +308,7 @@ hi def link goFunction Function " Methods; if g:go_highlight_methods != 0 - syn match goMethod /\.\w\+(/hs=s+1,he=e-1 + syn match goMethod /\.\w\+\ze(/hs=s+1 endif hi def link goMethod Type @@ -368,8 +368,14 @@ if g:go_highlight_build_constraints != 0 hi def link goPackageComment Comment endif +" :GoSameIds hi def goSameId term=bold cterm=bold ctermbg=white ctermfg=black +" :GoCoverage commands +hi def link goCoverageNormalText Comment +hi def goCoverageCovered ctermfg=green +hi def goCoverageUncover ctermfg=red + " Search backwards for a global declaration to start processing the syntax. "syn sync match goSync grouphere NONE /^\(const\|var\|type\|func\)\>/ |