From ab2c7cfff771faf76c76952011dc9c5bb8c3dae1 Mon Sep 17 00:00:00 2001 From: Paul Colomiets Date: Wed, 9 Jul 2014 23:01:14 +0300 Subject: [PATCH] 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. --- pkgs/applications/editors/vim/configurable.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index 8e799df7a8b2..710ceb7d31f1 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))