gnugo.vim icon indicating copy to clipboard operation
gnugo.vim copied to clipboard

How to enable the brown background color and white and black and white colorings?

Open smolprogress opened this issue 2 years ago • 1 comments

Hi! Just discovered about gnugo today, and thought it could be better if it had background colors. Saw your plugin on Vim, but so far I can't seem to find how it is to enable the colors you have on your gif preview. A

Any help on this would be great thank you! :D

smolprogress avatar Dec 05 '23 10:12 smolprogress

The way that the colors are initialized is through syntax highlighting, when you start a game, the scratch buffer should be set to the filetype gnugo, which has a syntax file defined for it: syntax/gnugo.vim.

Could you start by checking out if the filetype is set up correctly? Try executing the command :echo &filetype or :set filetype and let me know what it outputs.

You can also try evaluating the syntax file manually. Try either runtime syntax/gnugo.vim or :source <full path to file>. It could be that for some reason the syntax directory is not found. What plugin manager are you using to install plugins?

AndrewRadev avatar Dec 05 '23 11:12 AndrewRadev