Closed Spuxy closed 3 years ago
If you're using standard go.vim
syntax then you can change
it.
Find out go.vim
in /usr/share/neovim/runtime/syntax/go.vim
in my case I use asdf-vm
so ~/.asdf/install/neovim/nightly/share/nvim/runtime/syntax/go.vim
go.vim
file contains all highlight
keywords.
Here we can find that goDirective
is for package and import
keywords, and at the same time goDirective
equal to standard Statement
in your init.vim
hi! link goDirective GruvboxPurpleBold
" or
hi! link Statement GruvboxPurpleBold
""""""""""""""""""""""""""""""""""""""" All Gruvbox color names
" GruvboxRed
" GruvboxRedBold ; s:none, s:bold
" GruvboxRedSign ; s:sign_column, s:invert_sign
" GruvboxGreen
" GruvboxGreenBold ; s:none, s:bold
" GruvboxGreenSign ; s:sign_column, s:invert_sign
" GruvboxYellow
" GruvboxYellowBold ; s:none, s:bold
" GruvboxYellowSign ; s:sign_column, s:invert_sign
" GruvboxBlue
" GruvboxBlueBold ; s:none, s:bold
" GruvboxBlueSign ; s:sign_column, s:invert_sign
" GruvboxPurple
" GruvboxPurpleBold ; s:none, s:bold
" GruvboxPurpleSign ; s:sign_column, s:invert_sign
" GruvboxAqua
" GruvboxAquaBold ; s:none, s:bold
" GruvboxAquaSign ; s:sign_column, s:invert_sign
" GruvboxOrange
" GruvboxOrangeBold ; s:none, s:bold
" GruvboxOrangeSign ; s:sign_column, s:invert_sign
Oh thanks mate !
Hello guys ! First i appreciate for gruv into vim but i have a little problem with theme :( (Neovim btw)
And thats about highlighting where i use nerdtree (its in ur supported list) but on pic u can see the keyword import and package are not highlighted like on second pic :( am i wrong ?