Configure colorizer plugin
This commit is contained in:
parent
8c5de9fd00
commit
b95b05fc9a
1 changed files with 6 additions and 3 deletions
|
@ -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="<tab>"
|
|||
let g:UltiSnipsJumpForwardTrigger="<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.
|
||||
"
|
||||
" Colon is the starting point of a lot of actions in Vim. And I
|
||||
|
|
Loading…
Add table
Reference in a new issue