Unverified Commit dfe69671 authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #224616 from ocfox/vim-wakatime-fix

vimPlugins.vim-wakatime: fix build as vim plugin
parents a143b6f4 1f874da9
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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: {