diff options
author | Paul Colomiets <paul@colomiets.name> | 2014-07-09 23:01:14 +0300 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-07-15 14:59:16 +0200 |
commit | ab2c7cfff771faf76c76952011dc9c5bb8c3dae1 (patch) | |
tree | c8dacac48aa10c0a31c9db868241dce186b07de2 /pkgs/applications | |
parent | e376e9731d934753bc82262d5412d7a7446b1757 (diff) |
vim: Add `syntax on` and `set nocompatible` by default
Its what everybody wants in 2014. They are enabled by default both in ubuntu and archlinux.
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/vim/configurable.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index 8e799df7a8b2e..710ceb7d31f1f 100644 --- a/pkgs/applications/editors/vim/configurable.nix +++ b/pkgs/applications/editors/vim/configurable.nix @@ -5,6 +5,9 @@ args@{pkgs, source ? "default", ...}: with args; let inherit (args.composableDerivation) composableDerivation edf; nixosRuntimepath = pkgs.writeText "nixos-vimrc" '' + set nocompatible + syntax on + function! NixosPluginPath() let seen = {} for p in reverse(split($NIX_PROFILES)) |