diff options
author | Alan Pearce | 2021-06-05 15:41:43 +0200 |
---|---|---|
committer | Alan Pearce | 2021-06-05 15:41:43 +0200 |
commit | b1cc8c0bf8b699c435e967873d88159aae7b2ad4 (patch) | |
tree | d65915ad464f0a4d53ff55bfb0606d5f53e3da0e | |
parent | 5da5d88c34e617be104f241499965a6daa183dd4 (diff) | |
download | nixfiles-b1cc8c0bf8b699c435e967873d88159aae7b2ad4.tar.lz nixfiles-b1cc8c0bf8b699c435e967873d88159aae7b2ad4.tar.zst nixfiles-b1cc8c0bf8b699c435e967873d88159aae7b2ad4.zip |
neovim: update config structure for home-manager 21.05
-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; |