diff options
author | lassulus <lass@aidsballs.de> | 2015-05-25 13:46:02 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-05-25 13:46:02 +0200 |
commit | 26a166c8c1a577cefe7884eaeea1541eb910aa87 (patch) | |
tree | d530fc431f773bdd308dffc06776f3968d1dedfc /modules/lass/vim.nix | |
parent | f0567c64c49254254318842063645f36d42e55ab (diff) |
better terminal&vim colors
Diffstat (limited to 'modules/lass/vim.nix')
-rw-r--r-- | modules/lass/vim.nix | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/modules/lass/vim.nix b/modules/lass/vim.nix index e277bd725..56a20c383 100644 --- a/modules/lass/vim.nix +++ b/modules/lass/vim.nix @@ -1,6 +1,17 @@ { config, pkgs, ... }: -{ +let + customPlugins.mustang2 = pkgs.vimUtils.buildVimPlugin { + name = "Mustang2"; + src = pkgs.fetchFromGitHub { + owner = "croaker"; + repo = "mustang-vim"; + rev = "6533d7d21bf27cae94d9c2caa575f627f003dfd5"; + sha256 = "0zlmcrr04j3dkiivrhqi90f618lmnnnpvbz1b9msfs78cmgw9w67"; + }; + }; + +in { environment.systemPackages = with pkgs; [ (vim_configurable.customize { @@ -12,7 +23,7 @@ syntax on " TODO autoload colorscheme file set background=dark - colorscheme solarized + colorscheme mustang filetype off filetype plugin indent on @@ -81,13 +92,12 @@ set undofile ''; - vimrcConfig.vam.knownPlugins = vimPlugins; + vimrcConfig.vam.knownPlugins = vimPlugins // customPlugins; vimrcConfig.vam.pluginDictionaries = [ - { name = "Gundo"; } - { name = "commentary"; } - { name = "vim-addon-nix"; } - { name = "colors-solarized"; } + { names = [ "Gundo" "commentary" "vim-addon-nix" ]; } + { name = "mustang2"; } ]; + }) ]; } |