nvim: enable suda_smart_edit
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
return {
|
||||
"lambdalisue/suda.vim",
|
||||
lazy = true,
|
||||
lazy = false,
|
||||
cmd = { "SudaRead", "SudaWrite" },
|
||||
config = function()
|
||||
vim.g.suda_smart_edit = 1
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>e", "<cmd>SudaRead<cr>", desc = "Edit with sudo" },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user