| 12345678910111213141516171819202122232425 |
- local wk_ok, which_key = pcall(require, "which-key")
- if wk_ok then
- which_key.setup({})
- which_key.add({
- { "<leader>g", group = "Git" },
- { "<leader>x", group = "Trouble" },
- { "<leader>v", group = "Debug" },
- })
- end
- local trouble_ok, trouble = pcall(require, "trouble")
- if trouble_ok then
- trouble.setup({})
- end
- local oil_ok, oil = pcall(require, "oil")
- if oil_ok then
- oil.setup({
- default_file_explorer = false,
- skip_confirm_for_simple_edits = true,
- view_options = {
- show_hidden = true,
- },
- })
- end
|