Move navic and navbuddy config into own files
This commit is contained in:
parent
9567908cb7
commit
be5bdb332c
|
@ -16,13 +16,8 @@ return {
|
||||||
{ "jose-elias-alvarez/null-ls.nvim", lazy = true },
|
{ "jose-elias-alvarez/null-ls.nvim", lazy = true },
|
||||||
{ "mfussenegger/nvim-dap", lazy = true },
|
{ "mfussenegger/nvim-dap", lazy = true },
|
||||||
{ "folke/neodev.nvim", dependencies = { "hrsh7th/nvim-cmp" }, lazy = true },
|
{ "folke/neodev.nvim", dependencies = { "hrsh7th/nvim-cmp" }, lazy = true },
|
||||||
{ "SmiteshP/nvim-navic", lazy = true, config = true, opts = require "config.nvim-navic" },
|
{ "SmiteshP/nvim-navic" },
|
||||||
{
|
{ "SmiteshP/nvim-navbuddy" },
|
||||||
"SmiteshP/nvim-navbuddy",
|
|
||||||
dependencies = { "SmiteshP/nvim-navic", "MunifTanjim/nui.nvim" },
|
|
||||||
config = true,
|
|
||||||
opts = require "config.nvim-navbuddy",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require "lsp.config"
|
require "lsp.config"
|
||||||
|
|
8
home/tui/config/nvim/lua/plugins/nvim_navbuddy.lua
Normal file
8
home/tui/config/nvim/lua/plugins/nvim_navbuddy.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
"SmiteshP/nvim-navbuddy",
|
||||||
|
dependencies = { "SmiteshP/nvim-navic", "MunifTanjim/nui.nvim" },
|
||||||
|
cmd = { "Navbuddy" },
|
||||||
|
init = function() vim.keymap.set("n", "<leader>na", "<cmd>Navbuddy<cr>") end,
|
||||||
|
config = true,
|
||||||
|
opts = require "config.nvim-navbuddy",
|
||||||
|
}
|
Loading…
Reference in a new issue