vimPlugins.vim-wakatime: fix build as vim plugin

This commit is contained in:
ocfox 2023-04-04 16:26:56 +08:00
parent f6455c7baf
commit 1f874da97b
No known key found for this signature in database
GPG key ID: 8C2212388306143C

View file

@ -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: {