diff options
-rw-r--r-- | user/settings/base.nix | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix index 4ad9edfb..1e19a48d 100644 --- a/user/settings/base.nix +++ b/user/settings/base.nix @@ -15,26 +15,21 @@ vimAlias = true; vimdiffAlias = true; withNodeJs = true; - configure = { - customRC = builtins.readFile ../nvim/init.vim; - packages.myVimPackage = with pkgs.vimPlugins; { - start = [ - commentary - coc-css - coc-eslint - coc-git - coc-html - coc-json - coc-nvim - coc-prettier - coc-tabnine - coc-yaml - vim-surround - vim-nix - ]; - opt = [ ]; - }; - }; + plugins = with pkgs.vimPlugins; [ + commentary + coc-css + coc-eslint + coc-git + coc-html + coc-json + coc-nvim + coc-prettier + coc-tabnine + coc-yaml + vim-surround + vim-nix + ]; + extraConfig = builtins.readFile ../nvim/init.vim; coc = { config = { "json.enable" = true; |