neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(oil): handle cancel on `%`

+3 -1
+3 -1
lua/plugins/oil.lua
··· 15 15 ["<c-p>"] = false, 16 16 ["%"] = function() 17 17 vim.ui.input({ prompt = "Enter filename: " }, function(input) 18 - vim.cmd.edit(vim.fn.expand("%") .. input) 18 + if input then 19 + vim.cmd.edit(vim.fn.expand("%") .. input) 20 + end 19 21 end) 20 22 end, 21 23 },