summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorDanielle Hutzley <endergeryt@gmail.com>2022-02-03 16:32:44 -0800
committerDanielle Hutzley <endergeryt@gmail.com>2022-02-03 16:32:44 -0800
commit9e9c5efaca3fc6bdb825799188f40a2049b2ce2b (patch)
treeff0ad944419c73ccfce5c2e2046ee3b7a9f36293 /pkgs/misc
parentf80278219f00b38762847049f6d482898051c2ca (diff)
downloadnixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar.gz
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar.bz2
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar.lz
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar.xz
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.tar.zst
nixpkgs-9e9c5efaca3fc6bdb825799188f40a2049b2ce2b.zip
vimPlugins.tup: fix ftdetect
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/vim-plugins/overrides.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/vim-plugins/overrides.nix b/pkgs/misc/vim-plugins/overrides.nix
index af5fcb12d95..5c4c92a1c59 100644
--- a/pkgs/misc/vim-plugins/overrides.nix
+++ b/pkgs/misc/vim-plugins/overrides.nix
@@ -692,7 +692,7 @@ self: super: {
     let
       # Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim
       ftdetect = builtins.toFile "tup.vim" ''
-        au BufNewFile,BufRead Tupfile, *.tup set filetype=tup
+        au BufNewFile,BufRead Tupfile,*.tup setf tup
       '';
     in
     buildVimPluginFrom2Nix {