diff options
author | tv <tv@krebsco.de> | 2019-05-21 21:56:25 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-05-21 22:03:00 +0200 |
commit | 9b573a35f24b4d259f909fc191c8123a1aeec7b3 (patch) | |
tree | 848ed9f0610c790b7559246be6203ceef37b35dc /tv/2configs/vim.nix | |
parent | ec45998cb5665ae005d366e87b2e04fb935906d4 (diff) |
tv vim: move vim to overlay
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r-- | tv/2configs/vim.nix | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 7419eb674..18b69313f 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -19,22 +19,10 @@ let { pkgs.tv.vimPlugins.fzf pkgs.tv.vimPlugins.hack pkgs.tv.vimPlugins.jq + pkgs.tv.vimPlugins.vim pkgs.vimPlugins.fzfWrapper pkgs.vimPlugins.undotree ((rtp: rtp // { inherit rtp; }) (pkgs.writeTextFile (let - name = "vim"; - in { - name = "vim-syntax-${name}-1.0.0"; - destination = "/syntax/${name}.vim"; - text = /* vim */ '' - ${concatMapStringsSep "\n" (s: /* vim */ '' - syn keyword vimColor${s} ${s} - \ containedin=ALLBUT,vimComment,vimLineComment - hi vimColor${s} ctermfg=${s} - '') (map (i: lpad 3 "0" (toString i)) (range 0 255))} - ''; - }))) - ((rtp: rtp // { inherit rtp; }) (pkgs.writeTextFile (let name = "showsyntax"; in { name = "vim-plugin-${name}-1.0.0"; |