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

vimPlugins.vim-wakatime: fix build as vim plugin
This commit is contained in:
figsoda 2023-04-04 10:50:34 -04:00 committed by GitHub
commit dfe6967122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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