feat: Ajout autocmd pour les fichiers groovy et python

This commit is contained in:
Xavier Logerais
2023-11-09 20:24:20 +01:00
parent 095d08c050
commit 420f84f1a3
8 changed files with 163 additions and 23 deletions

View File

@ -2,8 +2,26 @@ return {
{
"nvim-neo-tree/neo-tree.nvim",
opts = {
window = {
width = 50,
mappings = {
["<space>"] = false, -- disable space until we figure out which-key disabling
[">"] = "next_source",
["<"] = "prev_source",
},
},
event_handlers = {
{
event = "file_opened",
handler = function(file_path)
-- auto close
-- vimc.cmd("Neotree close")
-- OR
require("neo-tree.command").execute({ action = "close" })
end
},
},
close_if_last_window = true,
window = { width = 50 },
}
},
}
}