summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-03-29 11:07:57 -0700
committerBen Sima <ben@bsima.me>2020-03-29 11:07:57 -0700
commit3c9086c16168486b57f999c9a4e0aa5a562ad257 (patch)
tree5f372cebeed3dea9dfe83e0a0c12b45ea339ebd1
parent3b3912efe83edad7025133de5f63f9cc1ef5afa4 (diff)
Use vimPlugins instead of strings
-rw-r--r--lib/common.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/common.nix b/lib/common.nix
index bb89efa..c81b97e 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -114,12 +114,12 @@ in
vim = {
enable = true;
- plugins = [
- "ctrlp"
- "fugitive"
- "editorconfig-vim"
- "surround"
- "vim-colorschemes"
+ plugins = with pkgs.vimPlugins; [
+ ctrlp
+ fugitive
+ editorconfig-vim
+ surround
+ vim-colorschemes
];
extraConfig = builtins.readFile ./vimrc;
};