diff options
-rw-r--r-- | init.vim | 4 | ||||
-rw-r--r-- | themes/nvcode.vim | 14 | ||||
-rw-r--r-- | themes/onedark.vim | 25 |
3 files changed, 15 insertions, 28 deletions
@@ -21,10 +21,8 @@ else " Themes source $HOME/.config/nvim/themes/syntax.vim - source $HOME/.config/nvim/themes/onedark.vim + source $HOME/.config/nvim/themes/nvcode.vim source $HOME/.config/nvim/themes/airline.vim - " source $HOME/.config/nvim/themes/material.vim - " source $HOME/.config/nvim/themes/nord.vim " Plugin Configuration source $HOME/.config/nvim/keys/which-key.vim diff --git a/themes/nvcode.vim b/themes/nvcode.vim new file mode 100644 index 00000000..7a497c33 --- /dev/null +++ b/themes/nvcode.vim @@ -0,0 +1,14 @@ +hi Comment cterm=italic +let g:nvcode_hide_endofbuffer=1 +let g:nvcode_terminal_italics=1 +let g:nvcode_termcolors=256 + +syntax on +colorscheme nvcode + + +" checks if your terminal has 24-bit color support +if (has("termguicolors")) + set termguicolors + hi LineNr ctermbg=NONE guibg=NONE +endif diff --git a/themes/onedark.vim b/themes/onedark.vim deleted file mode 100644 index 3dfabb16..00000000 --- a/themes/onedark.vim +++ /dev/null @@ -1,25 +0,0 @@ -" onedark.vim override: Don't set a background color when running in a terminal; -" if (has("autocmd") && !has("gui_running")) -" augroup colorset -" autocmd! -" let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" } -" autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " `bg` will not be styled since there is no `bg` setting -" augroup END -" endif - -"autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " `bg` will not be styled since there is no `bg` setting - -hi Comment cterm=italic -let g:nvcode_hide_endofbuffer=1 -let g:nvcode_terminal_italics=1 -let g:nvcode_termcolors=256 - -syntax on -colorscheme nvcode - - -" checks if your terminal has 24-bit color support -if (has("termguicolors")) - set termguicolors - hi LineNr ctermbg=NONE guibg=NONE -endif |