summary refs log tree commit diff
path: root/pkgs/applications/editors/vim
diff options
context:
space:
mode:
authorBryan Richter <b@chreekat.net>2018-04-20 11:46:40 -0400
committerBryan Richter <b@chreekat.net>2018-04-20 11:46:40 -0400
commit16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b (patch)
tree8d4d41a41e503a2756976e6147370bd88e4833a3 /pkgs/applications/editors/vim
parent94fd34a31b9228d20c66fbf6815b81354b5091a4 (diff)
downloadnixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar.gz
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar.bz2
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar.lz
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar.xz
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.tar.zst
nixlib-16bfd5a2be51c0b42d0cb5691c41dd8f1913e15b.zip
vim: Set softtabstop in nix filetype plugin
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r--pkgs/applications/editors/vim/ft-nix-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/vim/ft-nix-support.patch b/pkgs/applications/editors/vim/ft-nix-support.patch
index 25fd4b6ad9fa..5feb9c879517 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<"