diff options
author | tv <tv@krebsco.de> | 2019-08-13 00:16:54 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-08-13 00:25:57 +0200 |
commit | 48b251925c6873a559a8b2d3f3327428bc0a5861 (patch) | |
tree | 97dbb1e05d7c148ec812ae3bc1780168a64f4733 /tv/5pkgs/vim/nix.nix | |
parent | 59b744d10344d11bd9e9d8dda09869da644b8ce7 (diff) |
tv vim nix: recognize python by extension
Diffstat (limited to 'tv/5pkgs/vim/nix.nix')
-rw-r--r-- | tv/5pkgs/vim/nix.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/5pkgs/vim/nix.nix b/tv/5pkgs/vim/nix.nix index 1998f9d..61323ab 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 = [ |