dotfiles-ansible/roles/nvim/files/nvim/lua/modules/lsp/plugins.lua

57 lines
1.3 KiB
Lua

local M = {}
local conf = require('modules.lsp.config')
M['neovim/nvim-lspconfig'] = {
event = 'BufReadPre',
wants = {'lsp_signature.nvim', 'lspsaga.nvim', 'SchemaStore.nvim'},
requires = {
{
'ray-x/lsp_signature.nvim',
config = conf.signature,
opt = true
},
{
'tami5/lspsaga.nvim',
config = conf.saga,
opt = true
},
{'b0o/SchemaStore.nvim', opt = true}
},
config = conf.lsp
}
M['jose-elias-alvarez/null-ls.nvim'] = {
wants = 'plenary.nvim',
after = 'nvim-lspconfig',
config = conf.null_ls
}
M['nanotee/sqls.nvim'] = {
ft = {'sql', 'mysql'},
wants = 'nvim-lspconfig',
config = conf.sqls
}
M['folke/trouble.nvim'] = {
cmd = {'Trouble', 'TroubleToggle', 'TroubleRefresh'},
config = conf.trouble
}
M['folke/todo-comments.nvim'] = {
wants = 'plenary.nvim',
event = 'BufRead',
config = conf.todo_comments
}
M['simrat39/symbols-outline.nvim'] = {
cmd = {'SymbolsOutline', 'SymbolsOutlineOpen'},
setup = conf.symbols_outline
}
M['rcarriga/nvim-dap-ui'] = { -- TODO: config, scripts to install/update dap servers
keys = '<leader>d',
wants = 'nvim-dap',
requires = {{
'mfussenegger/nvim-dap',
config = conf.dap,
opt = true
}},
config = conf.dapui
}
return M