vimPlugins.tup: init at 0.7.11
This commit is contained in:
parent
1e8d75b093
commit
11f054c74a
@ -34,6 +34,7 @@
|
||||
, statix
|
||||
, stylish-haskell
|
||||
, tabnine
|
||||
, tup
|
||||
, vim
|
||||
, which
|
||||
, xkb-switch
|
||||
@ -643,6 +644,24 @@ self: super: {
|
||||
dependencies = with self; [ telescope-nvim ];
|
||||
});
|
||||
|
||||
tup =
|
||||
let
|
||||
# Based on the comment at the top of https://github.com/gittup/tup/blob/master/contrib/syntax/tup.vim
|
||||
ftdetect = builtins.toFile "tup.vim" ''
|
||||
au BufNewFile,BufRead Tupfile, *.tup set filetype=tup
|
||||
'';
|
||||
in
|
||||
buildVimPluginFrom2Nix {
|
||||
inherit (tup) pname version src;
|
||||
preInstall = ''
|
||||
mkdir -p vim-plugin/syntax vim-plugin/ftdetect
|
||||
cp contrib/syntax/tup.vim vim-plugin/syntax/tup.vim
|
||||
cp "${ftdetect}" vim-plugin/ftdetect/tup.vim
|
||||
cd vim-plugin
|
||||
'';
|
||||
meta.maintainers = with lib.maintainers; [enderger];
|
||||
};
|
||||
|
||||
unicode-vim =
|
||||
let
|
||||
unicode-data = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user