diff --git a/home/vim/default.nix b/home/vim/default.nix index 6bb6ef0..11ae974 100644 --- a/home/vim/default.nix +++ b/home/vim/default.nix @@ -10,7 +10,10 @@ plugins = with pkgs.vimPlugins; [ # Theming lightline-vim # Fancy status bar - onedark-vim # Nice dark theme + { + plugin = onedark-vim; # Nice dark theme + optional = true; # Needs to be `packadd`-ed manually... + } # tpope essentials vim-commentary # Easy comments diff --git a/home/vim/init.vim b/home/vim/init.vim index e1208a0..1e06609 100644 --- a/home/vim/init.vim +++ b/home/vim/init.vim @@ -68,6 +68,8 @@ set timeoutlen=500 " Set dark mode by default set background=dark +" Load it manually because of autoload functions... +packadd! onedark-vim " Use onedark colorscheme onedark