# HG changeset patch # User zegervdv # Date 1606291455 -3600 # Node ID 49b61215e3d02882fae716ddbce6630459e0e967 # Parent 33b9f4c5ae6afe6099e5372b6ac6338ef87214a9 Update colorscheme to custom version of nvcode using rakr/vim-one colors diff -r 33b9f4c5ae6a -r 49b61215e3d0 dot_config/nvim/init.vim --- a/dot_config/nvim/init.vim Mon Nov 23 16:20:21 2020 +0100 +++ b/dot_config/nvim/init.vim Wed Nov 25 09:04:15 2020 +0100 @@ -125,7 +125,7 @@ " Theme Plug 'NLKNguyen/papercolor-theme' -Plug 'rakr/vim-one' +Plug 'zegervdv/nvcode-color-schemes.vim' "Tcl Plug 'vim-scripts/tcl.vim--smithfield-indent', { 'for': 'tcl'} @@ -212,28 +212,6 @@ set showcmd " Theme and style -" Override needs to be defined before calling colorscheme -function! IndentGuidesColor() abort - highlight IndentGuidesOdd ctermbg=254 - highlight IndentGuidesEven ctermbg=254 -endfunction - -augroup IndentColors - autocmd! - autocmd ColorScheme * call IndentGuidesColor() -augroup END - -function! ColorOverrides() abort - highlight! link LspDiagnosticsError WarningMsg - highlight! link LspDiagnosticsVirtualTextError WarningMsg - highlight! link LspDiagnosticsDefaultError WarningMsg -endfunction - -augroup ColorOverrides - autocmd! - autocmd ColorScheme * call ColorOverrides() -augroup END - let g:PaperColor_Theme_Options = { \ 'theme': { @@ -242,13 +220,11 @@ \ } \ } \} -let g:onedark_color_overrides = { - \ "yellow": {"cterm": "3", "gui": "#ffc24b"} - \} -" colorscheme onedark + set termguicolors let g:one_allow_italics=1 +let g:nvcode_termcolors=256 colorscheme one set background=dark