neovim: corrected themes & background
This commit is contained in:
parent
23757e4a95
commit
d84dbc0f0f
|
@ -50,7 +50,7 @@
|
||||||
syntax on " Enable syntax highlighting
|
syntax on " Enable syntax highlighting
|
||||||
set t_Co=256 " Use 265 colors in vim
|
set t_Co=256 " Use 265 colors in vim
|
||||||
set background=dark " Set the default background scheme
|
set background=dark " Set the default background scheme
|
||||||
colorscheme onedarkpro " Set the default colour scheme
|
colorscheme onedark " Set the default colour scheme
|
||||||
"let g:one_allow_italics = 1 " I love italic for comments
|
"let g:one_allow_italics = 1 " I love italic for comments
|
||||||
set spell spelllang=en_au " Defaul spell checking language
|
set spell spelllang=en_au " Defaul spell checking language
|
||||||
set spellfile=~/.vim-spell.en.utf-8.add " Add the spellfile
|
set spellfile=~/.vim-spell.en.utf-8.add " Add the spellfile
|
||||||
|
@ -99,10 +99,12 @@
|
||||||
let hour = strftime("%H")
|
let hour = strftime("%H")
|
||||||
if 7 <= hour && hour < 17
|
if 7 <= hour && hour < 17
|
||||||
"set background=dark
|
"set background=dark
|
||||||
"hi Normal ctermbg=none " Set a transparent background
|
hi Normal guibg=NONE ctermbg=NONE " Set a transparent background
|
||||||
|
hi NormalNC guibg=NONE ctermbg=NONE " Set a transparent background
|
||||||
else
|
else
|
||||||
"set background=dark
|
"set background=dark
|
||||||
"hi Normal ctermbg=none " Set a transparent background
|
hi Normal guibg=NONE ctermbg=NONE " Set a transparent background
|
||||||
|
hi NormalNC guibg=NONE ctermbg=NONE " Set a transparent background
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Transparent editing of gpg encrypted files.
|
" Transparent editing of gpg encrypted files.
|
||||||
|
|
Loading…
Reference in a new issue