neovim: corrected themes & background

This commit is contained in:
Serĉanto de Scio 2023-07-11 20:11:55 +10:00
parent 23757e4a95
commit d84dbc0f0f
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -50,7 +50,7 @@
syntax on " Enable syntax highlighting
set t_Co=256 " Use 265 colors in vim
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
set spell spelllang=en_au " Defaul spell checking language
set spellfile=~/.vim-spell.en.utf-8.add " Add the spellfile
@ -99,10 +99,12 @@
let hour = strftime("%H")
if 7 <= hour && hour < 17
"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
"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
" Transparent editing of gpg encrypted files.