diff --git a/pkgs/applications/editors/vim/ft-nix-support.patch b/pkgs/applications/editors/vim/ft-nix-support.patch index 25fd4b6ad9f..5feb9c87951 100644 --- a/pkgs/applications/editors/vim/ft-nix-support.patch +++ b/pkgs/applications/editors/vim/ft-nix-support.patch @@ -92,5 +92,5 @@ new file mode 100644 +let b:did_ftplugin = 1 + +" coding conventions -+setlocal shiftwidth=2 expandtab -+let b:undo_ftplugin = "setlocal sw< et<" ++setlocal shiftwidth=2 expandtab softtabstop=2 ++let b:undo_ftplugin = "setlocal sw< et< sts<"