From ade4d71dc7847eb4b583326309b1b3f8b98004db Mon Sep 17 00:00:00 2001 From: genofire Date: Thu, 7 Oct 2021 22:32:21 +0200 Subject: [PATCH] fix neovim --- home.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/home.nix b/home.nix index 336fe03..03b5b40 100644 --- a/home.nix +++ b/home.nix @@ -38,7 +38,7 @@ programs.zsh = { enable = true; enableAutosuggestions = true; - # missing syntaxHighlighting + # broken: enableSyntaxHighlighting = true; # grml and pure enabled .... }; @@ -57,11 +57,17 @@ }; programs.neovim = { enable = true; - extraPackages = with pkgs.vimPlugins; [ + extraConfig = '' + syntax on + ''; + plugins = with pkgs.vimPlugins; [ nvim-lspconfig airline Syntastic - nerdtree + { + plugin = nerdtree; + config = "map :NERDTreeToggle"; + } ]; }; }