summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-07-03 20:48:15 +0200
committertv <tv@krebsco.de>2016-07-03 20:48:15 +0200
commit672fc99c796a4c2fe41efd79462a86142ecc2e76 (patch)
treeb1448a42b380f9c5821b8824f2902b12acd4a1c9 /tv/2configs
parent3d0f7724cc102c8ba5a1811e62d4a39eb8be2e41 (diff)
tv vim: add jq syntax
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/vim.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 6c277542d..0a8466202 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -17,6 +17,14 @@ let
pkgs.vimPlugins.ctrlp
pkgs.vimPlugins.undotree
(pkgs.vimUtils.buildVimPlugin {
+ name = "vim-syntax-jq";
+ src = pkgs.fetchgit {
+ url = https://github.com/vito-c/jq.vim;
+ rev = "99d55a300047946a82ecdd7617323a751199ad2d";
+ sha256 = "00mmwg4swwmllknzzx07af080lcy7y5i6341rc6c08i2vka48nv9";
+ };
+ })
+ (pkgs.vimUtils.buildVimPlugin {
name = "file-line-1.0";
src = pkgs.fetchgit {
url = git://github.com/bogado/file-line;
@@ -211,6 +219,10 @@ let
cabal = {};
diff = {};
haskell = {};
+ jq.extraStart = concatStringsSep ''\|'' [
+ ''writeJq.*''
+ ''write[^ \t\r\n]*[ \t\r\n]*"[^"]*\.jq"''
+ ];
lua = {};
sed.extraStart = ''writeSed[^ \t\r\n]*[ \t\r\n]*"[^"]*"'';
sh.extraStart = concatStringsSep ''\|'' [