fix: updated project structure
This commit is contained in:
parent
459a90f8ab
commit
27d1234f6b
5 changed files with 22 additions and 12 deletions
|
|
@ -32,4 +32,8 @@ based on chadrc
|
|||
**lukas-reineke/indent-blankline** (nvchad/me)
|
||||
*Indentation readability helper*
|
||||
|
||||
## LSP
|
||||
|
||||
**nvimdev/lspsaga.nvim**
|
||||
*Enables LSPs' full power*
|
||||
|
||||
|
|
|
|||
1
init.lua
1
init.lua
|
|
@ -23,6 +23,7 @@ require("lazy").setup({
|
|||
},
|
||||
|
||||
{ import = "plugins" },
|
||||
{ import = "custom.plugins" },
|
||||
}, lazy_config)
|
||||
|
||||
-- load theme
|
||||
|
|
|
|||
16
lua/custom/plugins/lspsaga.lua
Normal file
16
lua/custom/plugins/lspsaga.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
-- harness lsps' full power
|
||||
return {
|
||||
"nvimdev/lspsaga.nvim",
|
||||
event = "LspAttach",
|
||||
config = function()
|
||||
require("lspsaga").setup {
|
||||
lightbulb = {
|
||||
enable = false,
|
||||
},
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter", -- optional
|
||||
"nvim-tree/nvim-web-devicons", -- optional
|
||||
},
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@ map("i", "jk", "<ESC>")
|
|||
|
||||
-- see code actions
|
||||
map("n", "<leader>a", "<cmd>Lspsaga code_action<CR>", { desc = "Display code actions" })
|
||||
map("n", "K", "<cmd>Lspsaga hover_doc<CR>", { desc = "Displays doc" })
|
||||
|
||||
-- toogle terminal
|
||||
map("n", "<C-t>", function()
|
||||
|
|
|
|||
|
|
@ -42,17 +42,5 @@ return {
|
|||
config = true,
|
||||
},
|
||||
|
||||
-- harness lsps' full power
|
||||
{
|
||||
"nvimdev/lspsaga.nvim",
|
||||
event = "LspAttach",
|
||||
config = function()
|
||||
require("lspsaga").setup {}
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter", -- optional
|
||||
"nvim-tree/nvim-web-devicons", -- optional
|
||||
},
|
||||
},
|
||||
{ "ingur/floatty.nvim" },
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue