From 8e16b4b8b327369a130cf9bc0b1dbbf465da7cd6 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Sun, 4 Nov 2018 00:20:58 +0100 Subject: [PATCH] [nvim] Add CSS colours, change highlighting --- nvim-init.vim | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/nvim-init.vim b/nvim-init.vim index fca267b..c3e0809 100644 --- a/nvim-init.vim +++ b/nvim-init.vim @@ -193,6 +193,7 @@ call plug#begin('~/.config/nvim/plug') "Plug 'neovimhaskell/haskell-vim', { 'for': 'haskell' } " included in vim-polyglot "Plug 'LaTeX-Box-Team/LaTeX-Box', { 'for': 'tex' } " included in vim-polyglot "Plug 'rust-lang/rust.vim', { 'for': 'rust' } " included in vim-polyglot + Plug 'ap/vim-css-color' " CSS color names " C/C++ "Plug 'vim-scripts/c.vim', { 'for': ['c', 'cpp', 'objc'] } " various IDE-like C features @@ -254,9 +255,12 @@ set cursorline let g:one_allow_italics = 1 colorscheme one set background=dark -hi Normal guibg=NONE -hi SpellBad guibg=NONE +hi Normal guibg=NONE ctermbg=NONE +hi SpellBad guibg=NONE ctermbg=NONE +hi Comment guifg=#888888 hi link Whitespace Conceal +hi CursorLine guibg=NONE ctermbg=NONE +hi CursorLineNr guibg=NONE ctermbg=NONE " Haskell {{{2 " ------------ @@ -287,6 +291,9 @@ let g:vim_markdown_conceal = 0 " CSV.vim {{{2 " ------------ +" CSS colors {{{2 +" --------------- + " Doxygen {{{2 " ------------ nnoremap df :Dox @@ -491,7 +498,7 @@ let g:gutentags_cache_dir = '~/.cache/gutentag' " Airline {{{2 " ------------ let g:airline_powerline_fonts=1 -let g:airline_theme='one' +let g:airline_theme='minimalist' let g:airline#extensions#ycm#enabled=1 let g:airline#extensions#tabline#enabled=1 let g:airline#extensions#ale#enabled=1