Selaa lähdekoodia

more theme updates

Chris 4 vuotta sitten
vanhempi
commit
73d89f8ca7
3 muutettua tiedostoa jossa 15 lisäystä ja 28 poistoa
  1. 1 3
      init.vim
  2. 14 0
      themes/nvcode.vim
  3. 0 25
      themes/onedark.vim

+ 1 - 3
init.vim

@@ -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

+ 14 - 0
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

+ 0 - 25
themes/onedark.vim

@@ -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