kickstart.nvim/lua/plugins/spec/lsp.lua

27 lines
508 B
Lua

-- LSP Plugin Specification
return {
{
'neovim/nvim-lspconfig',
event = { 'BufReadPost', 'BufNewFile' },
dependencies = {
{ 'j-hui/fidget.nvim', opts = {} },
'folke/lazydev.nvim',
},
config = function()
require('plugins.config.lsp').setup()
end,
},
-- LazyDev for better Neovim Lua development
{
'folke/lazydev.nvim',
ft = 'lua',
opts = {
library = {
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
},
},
},
}