Update
This commit is contained in:
parent
acd25ccf95
commit
041ab2d237
@ -308,7 +308,7 @@ hi def link goFunction Function
|
|||||||
|
|
||||||
" Methods;
|
" Methods;
|
||||||
if g:go_highlight_methods != 0
|
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
|
endif
|
||||||
hi def link goMethod Type
|
hi def link goMethod Type
|
||||||
|
|
||||||
@ -368,8 +368,14 @@ if g:go_highlight_build_constraints != 0
|
|||||||
hi def link goPackageComment Comment
|
hi def link goPackageComment Comment
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" :GoSameIds
|
||||||
hi def goSameId term=bold cterm=bold ctermbg=white ctermfg=black
|
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.
|
" Search backwards for a global declaration to start processing the syntax.
|
||||||
"syn sync match goSync grouphere NONE /^\(const\|var\|type\|func\)\>/
|
"syn sync match goSync grouphere NONE /^\(const\|var\|type\|func\)\>/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user