diff --git a/profiles/neovim.nix b/profiles/neovim.nix index 089bb42..4041569 100644 --- a/profiles/neovim.nix +++ b/profiles/neovim.nix @@ -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.