Skip to content

Commit

Permalink
user command
Browse files Browse the repository at this point in the history
  • Loading branch information
gouflv committed Jan 9, 2023
1 parent 3a7f3fd commit 094df6e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,4 @@ vim.api.nvim_create_user_command('CopyPath', function()
end, {})

local clean_undo_files = require('utils').clean_undo_files
vim.api.nvim_create_autocmd('VimLeavePre', {
callback = function()
clean_undo_files()
end,
})
vim.api.nvim_create_user_command('CleanUndoFiles', clean_undo_files, {})

0 comments on commit 094df6e

Please sign in to comment.