diff --git a/nvim/nvim.symlink/init.vim b/nvim/nvim.symlink/init.vim index 01e6aa4..14e7167 100644 --- a/nvim/nvim.symlink/init.vim +++ b/nvim/nvim.symlink/init.vim @@ -43,9 +43,7 @@ call plug#begin() Plug 'chrisbra/csv.vim' " CSS Colour previews - " - " Working on changing this, making it use virtual text to render a swatch. - Plug 'chrisbra/Colorizer' + Plug 'maxbucknell/Colorizer', { 'branch': 'neovim-virtual-text' } call plug#end() " I have a true colour terminal, and I will have true colours in my Vim @@ -189,6 +187,11 @@ let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" +" Colorizer adds little colour swatches next to CSS colours +let g:colorizer_auto_filetype='css,less,scss,sass' +let g:colorizer_colornames = 0 +let g:colorizer_use_virtual_text = 1 + " Remap semi-colon to colon. " " Colon is the starting point of a lot of actions in Vim. And I