From d84dbc0f0fddb38d259afdca3b50ccf1cd3007e0 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Tue, 11 Jul 2023 20:11:55 +1000 Subject: [PATCH] neovim: corrected themes & background --- profiles/neovim.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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.