feat: switch from lazy to vim.pack
This commit is contained in:
+8
-15
@@ -1,16 +1,9 @@
|
||||
---@type LazyPluginSpec
|
||||
return {
|
||||
"hedyhli/outline.nvim",
|
||||
lazy = true,
|
||||
cmd = { "Outline", "OutlineOpen" },
|
||||
keys = { -- Example mapping to toggle outline
|
||||
{ "<leader>o", "<cmd>Outline<CR>", desc = "Toggle outline" },
|
||||
require("outline").setup({
|
||||
outline_window = {
|
||||
relative_width = false,
|
||||
split_command = "aboveleft 40vsp",
|
||||
focus_on_open = false,
|
||||
},
|
||||
opts = {
|
||||
outline_window = {
|
||||
relative_width = false,
|
||||
split_command = "aboveleft 40vsp",
|
||||
focus_on_open = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<leader>o", "<cmd>Outline<CR>")
|
||||
|
||||
Reference in New Issue
Block a user