about summary refs log tree commit diff
path: root/pkgs/aszlig/vim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/aszlig/vim/default.nix')
-rw-r--r--pkgs/aszlig/vim/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix
index be9d7c75..8c6a217e 100644
--- a/pkgs/aszlig/vim/default.nix
+++ b/pkgs/aszlig/vim/default.nix
@@ -358,6 +358,11 @@ let
     " Autocomplete/align Ledger lines after leaving insert mode
     au FileType ledger au InsertLeave * call ledger#autocomplete_and_align()
 
+    " Do not sleuth these file types!
+    au FileType ledger let g:sleuth_automatic = 0
+    au FileType haskell let g:sleuth_automatic = 0
+    au FileType nix let g:sleuth_automatic = 0
+
     " highlight unnecessary whitespace
     highlight ExtraWhitespace ctermbg=red guibg=red
     match ExtraWhitespace /\s\+$/