60 lines
1.5 KiB
Lua
60 lines
1.5 KiB
Lua
return {
|
|
-- LSP
|
|
'williamboman/mason.nvim',
|
|
'williamboman/mason-lspconfig.nvim',
|
|
'neovim/nvim-lspconfig',
|
|
{
|
|
'nvimdev/lspsaga.nvim',
|
|
config = function()
|
|
require('lspsaga').setup({
|
|
lightbulb = {
|
|
enable = true,
|
|
sign = true,
|
|
virtual_text = false,
|
|
},
|
|
})
|
|
end,
|
|
dependencies = {
|
|
'nvim-treesitter/nvim-treesitter',
|
|
'nvim-tree/nvim-web-devicons'
|
|
},
|
|
},
|
|
{
|
|
"zbirenbaum/copilot.lua",
|
|
cmd = "Copilot",
|
|
event = "InsertEnter",
|
|
config = function()
|
|
require("copilot").setup({
|
|
panel = {
|
|
enabled = true,
|
|
auto_refresh = true,
|
|
},
|
|
suggestion = {
|
|
enabled = true,
|
|
auto_trigger = true,
|
|
accept = false, -- disable built-in keymapping
|
|
},
|
|
filetypes = {
|
|
markdown = true,
|
|
yaml = true
|
|
}
|
|
})
|
|
end,
|
|
},
|
|
'hrsh7th/nvim-cmp',
|
|
'onsails/lspkind.nvim',
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
'hrsh7th/cmp-nvim-lua',
|
|
'hrsh7th/cmp-nvim-lsp-signature-help',
|
|
'hrsh7th/cmp-vsnip',
|
|
'hrsh7th/cmp-path',
|
|
'hrsh7th/cmp-buffer',
|
|
'hrsh7th/vim-vsnip',
|
|
{
|
|
"smjonas/inc-rename.nvim",
|
|
config = function()
|
|
require("inc_rename").setup()
|
|
end,
|
|
},
|
|
}
|