Skip to content

Commit

Permalink
Merge pull request #224616 from ocfox/vim-wakatime-fix
Browse files Browse the repository at this point in the history
vimPlugins.vim-wakatime: fix build as vim plugin
  • Loading branch information
figsoda authored Apr 4, 2023
2 parents a143b6f + 1f874da commit dfe6967
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,13 @@ self: super: {

vim-wakatime = super.vim-wakatime.overrideAttrs (old: {
buildInputs = [ python3 ];
patchPhase = ''
substituteInPlace plugin/wakatime.vim \
--replace 'autocmd BufEnter,VimEnter' \
'autocmd VimEnter' \
--replace 'autocmd CursorMoved,CursorMovedI' \
'autocmd CursorMoved,CursorMovedI,BufEnter'
'';
});

vim-xdebug = super.vim-xdebug.overrideAttrs (old: {
Expand Down

0 comments on commit dfe6967

Please sign in to comment.