summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-08-13 00:16:54 +0200
committertv <tv@krebsco.de>2019-08-13 00:25:57 +0200
commitaf518678bf730ee540dc3d3fe922e1f8f4fa1059 (patch)
tree8ef1a9a1e7d4c9e883c4d7b12704e01a56325259 /tv/5pkgs
parent9cf4d9e26f07e31cb04888c00779900c91718f1b (diff)
tv vim nix: recognize python by extension
Diffstat (limited to 'tv/5pkgs')
-rw-r--r--tv/5pkgs/vim/nix.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/5pkgs/vim/nix.nix b/tv/5pkgs/vim/nix.nix
index 1998f9d72..61323ab35 100644
--- a/tv/5pkgs/vim/nix.nix
+++ b/tv/5pkgs/vim/nix.nix
@@ -135,7 +135,10 @@ with import <stockholm/lib>;
javascript.extraStart = comment "jq";
lua = {};
#nginx = {};
- python.extraStart = comment "py";
+ python.extraStart = alts [
+ (comment "py")
+ (writerExt "py")
+ ];
sed.extraStart = writer "Sed";
sh.extraStart = let
phases = [