37 lines
918 B
Lua
37 lines
918 B
Lua
return {
|
|
{
|
|
'neovim/nvim-lspconfig',
|
|
dependencies = {
|
|
'hrsh7th/nvim-cmp',
|
|
'saghen/blink.cmp',
|
|
{
|
|
'SmiteshP/nvim-navbuddy',
|
|
dependencies = {
|
|
'SmiteshP/nvim-navic',
|
|
'MunifTanjim/nui.nvim',
|
|
},
|
|
opts = { lsp = { auto_attach = true } },
|
|
keys = {
|
|
{ '<leader>n', '<cmd>Navbuddy<cr>', desc = 'Open Navbuddy' },
|
|
},
|
|
},
|
|
},
|
|
ft = { 'lua', 'elixir', 'go', 'erlang', 'typescript', 'typescriptreact', 'rust' },
|
|
config = function()
|
|
require('lsp').setup()
|
|
end,
|
|
},
|
|
{
|
|
'windwp/nvim-ts-autotag',
|
|
ft = { 'javascriptreact', 'typescriptreact', 'html' },
|
|
opts = {
|
|
opts = {
|
|
-- Defaults
|
|
enable_close = true, -- Auto close tags
|
|
enable_rename = true, -- Auto rename pairs of tags
|
|
enable_close_on_slash = false, -- Auto close on trailing </
|
|
},
|
|
},
|
|
},
|
|
}
|