Skip to content

Commit 127b262

Browse files
committedJul 27, 2017
vim-yapf: init at 2017-03-21
1 parent 229b249 commit 127b262

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
 

‎pkgs/misc/vim-plugins/default.nix

+14
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,20 @@ rec {
11731173

11741174
};
11751175

1176+
vim-yapf = buildVimPluginFrom2Nix { # created by nix#NixDerivation
1177+
name = "vim-yapf-2017-03-21";
1178+
src = fetchgit {
1179+
url = "https://github.com/mindriot101/vim-yapf";
1180+
rev = "324380d77c9cf8e46e22b2e4391702273a53f563";
1181+
sha256 = "0vsd53k5k8absc60qka8nlj2ij6k4zgff2a65ixc7vqcmawxr3nw";
1182+
};
1183+
dependencies = [];
1184+
buildPhase = ''
1185+
substituteInPlace ftplugin/python_yapf.vim \
1186+
--replace '"yapf"' '"${pkgs.yapf}/bin/yapf"'
Has a conversation. Original line has a conversation.
1187+
'';
1188+
};
1189+
11761190
lushtags = buildVimPluginFrom2Nix { # created by nix#NixDerivation
11771191
name = "lushtags-2017-04-19";
11781192
src = fetchgit {

‎pkgs/misc/vim-plugins/vim-plugin-names

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"github:mhinz/vim-startify"
9393
"github:michaeljsmith/vim-indent-object"
9494
"github:mileszs/ack.vim"
95+
"github:mindriot101/vim-yapf"
9596
"github:mkasa/lushtags"
9697
"github:mpickering/hlint-refactor-vim"
9798
"github:nathanaelkane/vim-indent-guides"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
buildPhase = ''
2+
substituteInPlace ftplugin/python_yapf.vim \
3+
--replace '"yapf"' '"${pkgs.yapf}/bin/yapf"'
4+
'';

0 commit comments

Comments
 (0)
Please sign in to comment.