feat(nvim): add autocmd to create a new dir when saving a file inside (removed mkdir.nvim extra)

This commit is contained in:
sankalp committed 2024-02-10 14:42:51 +05:45
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 = {