Mercurial > dotfiles
comparison dot_config/nvim/init.vim @ 309:49b61215e3d0
Update colorscheme to custom version of nvcode using rakr/vim-one colors
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 25 Nov 2020 09:04:15 +0100 |
parents | 10078cb76622 |
children | 7220aa431ce0 |
comparison
equal
deleted
inserted
replaced
308:33b9f4c5ae6a | 309:49b61215e3d0 |
---|---|
123 Plug 'justinmk/vim-dirvish' | 123 Plug 'justinmk/vim-dirvish' |
124 Plug 'tpope/vim-projectionist' | 124 Plug 'tpope/vim-projectionist' |
125 | 125 |
126 " Theme | 126 " Theme |
127 Plug 'NLKNguyen/papercolor-theme' | 127 Plug 'NLKNguyen/papercolor-theme' |
128 Plug 'rakr/vim-one' | 128 Plug 'zegervdv/nvcode-color-schemes.vim' |
129 | 129 |
130 "Tcl | 130 "Tcl |
131 Plug 'vim-scripts/tcl.vim--smithfield-indent', { 'for': 'tcl'} | 131 Plug 'vim-scripts/tcl.vim--smithfield-indent', { 'for': 'tcl'} |
132 | 132 |
133 Plug 'dense-analysis/ale' | 133 Plug 'dense-analysis/ale' |
210 set title | 210 set title |
211 set scrolloff=4 " Stay 4 lines from top/bottom | 211 set scrolloff=4 " Stay 4 lines from top/bottom |
212 set showcmd | 212 set showcmd |
213 | 213 |
214 " Theme and style | 214 " Theme and style |
215 " Override needs to be defined before calling colorscheme | |
216 function! IndentGuidesColor() abort | |
217 highlight IndentGuidesOdd ctermbg=254 | |
218 highlight IndentGuidesEven ctermbg=254 | |
219 endfunction | |
220 | |
221 augroup IndentColors | |
222 autocmd! | |
223 autocmd ColorScheme * call IndentGuidesColor() | |
224 augroup END | |
225 | |
226 function! ColorOverrides() abort | |
227 highlight! link LspDiagnosticsError WarningMsg | |
228 highlight! link LspDiagnosticsVirtualTextError WarningMsg | |
229 highlight! link LspDiagnosticsDefaultError WarningMsg | |
230 endfunction | |
231 | |
232 augroup ColorOverrides | |
233 autocmd! | |
234 autocmd ColorScheme * call ColorOverrides() | |
235 augroup END | |
236 | |
237 | 215 |
238 let g:PaperColor_Theme_Options = { | 216 let g:PaperColor_Theme_Options = { |
239 \ 'theme': { | 217 \ 'theme': { |
240 \ 'default': { | 218 \ 'default': { |
241 \ 'allow_bold': 0 | 219 \ 'allow_bold': 0 |
242 \ } | 220 \ } |
243 \ } | 221 \ } |
244 \} | 222 \} |
245 let g:onedark_color_overrides = { | 223 |
246 \ "yellow": {"cterm": "3", "gui": "#ffc24b"} | |
247 \} | |
248 " colorscheme onedark | |
249 set termguicolors | 224 set termguicolors |
250 | 225 |
251 let g:one_allow_italics=1 | 226 let g:one_allow_italics=1 |
227 let g:nvcode_termcolors=256 | |
252 colorscheme one | 228 colorscheme one |
253 set background=dark | 229 set background=dark |
254 | 230 |
255 if s:darwin | 231 if s:darwin |
256 set background=dark | 232 set background=dark |