feat(nvim): add autocmd to create a new dir when saving a file inside (removed mkdir.nvim extra)
This commit is contained in:
1 parent
c3a2ef3ba4
commit
72b6efc817
7 files changed
+103
-54
No files matched your search
@@ -8,6 +8,17 @@ return {
|
||||
opts = function(_, opts)
|
||||
local actions = require("diffview.actions")
|
||||
|
||||
opts.enhanced_diff_hl = true
|
||||
opts.view = {
|
||||
default = { winbar_info = true },
|
||||
file_history = { winbar_info = true },
|
||||
}
|
||||
opts.hooks = {
|
||||
diff_buf_read = function(bufnr)
|
||||
vim.b[bufnr].view_activated = false
|
||||
end,
|
||||
}
|
||||
|
||||
opts.keymaps = {
|
||||
--stylua: ignore
|
||||
view = {
|
||||
|
||||
Reference in new issue
Block a user