3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Paul Colomiets 2014-07-09 23:01:14 +03:00 committed by Bjørn Forsman
parent e376e9731d
commit ab2c7cfff7

View file

@ -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))