Unverified Commit 1f874da9 authored by ocfox's avatar ocfox
Browse files

vimPlugins.vim-wakatime: fix build as vim plugin

parent f6455c7b
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: {