Configure colorizer plugin

This commit is contained in:
Max Bucknell 2019-04-20 21:32:35 +01:00
parent 8c5de9fd00
commit b95b05fc9a

View file

@ -43,9 +43,7 @@ call plug#begin()
Plug 'chrisbra/csv.vim' Plug 'chrisbra/csv.vim'
" CSS Colour previews " CSS Colour previews
" Plug 'maxbucknell/Colorizer', { 'branch': 'neovim-virtual-text' }
" Working on changing this, making it use virtual text to render a swatch.
Plug 'chrisbra/Colorizer'
call plug#end() call plug#end()
" I have a true colour terminal, and I will have true colours in my Vim " I have a true colour terminal, and I will have true colours in my Vim
@ -189,6 +187,11 @@ let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>" let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<S-tab>" let g:UltiSnipsJumpBackwardTrigger="<S-tab>"
" 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. " Remap semi-colon to colon.
" "
" Colon is the starting point of a lot of actions in Vim. And I " Colon is the starting point of a lot of actions in Vim. And I