summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-12-02 16:07:53 +0100
committertv <tv@krebsco.de>2018-12-02 16:07:53 +0100
commitc544596952c7ed42479616cea6904b061085e2f0 (patch)
treecded338ac2146326446228fdc202dd346840ebf7 /tv/2configs/vim.nix
parente847d935ade4b36aecf8588faffb3dd61e3ebdfe (diff)
tv vim-syntax-nix-nested: add js, and py
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r--tv/2configs/vim.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 009280815..3794628c1 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -259,7 +259,9 @@ let {
(writer "Jq")
''write[^ \t\r\n]*[ \t\r\n]*"[^"]*\.jq"''
];
+ javascript.extraStart = ''/\* js \*/'';
lua = {};
+ python.extraStart = ''/\* py \*/'';
sed.extraStart = writer "Sed";
sh.extraStart = let
phases = [