diff options
Diffstat (limited to 'lua/plugins/lsp.lua')
| -rw-r--r-- | lua/plugins/lsp.lua | 46 |
1 files changed, 32 insertions, 14 deletions
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index eae804e..c7f6d52 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -1,25 +1,43 @@ return { - "neovim/nvim-lspconfig", - dependencies = { + -- Native LSP configuration for Neovim 0.11+ + { "nvimtools/none-ls.nvim", - { - "williamboman/mason.nvim", - opts = { - ui = { - border = "rounded", - }, + event = "VeryLazy", + }, + { + "williamboman/mason.nvim", + opts = { + ui = { + border = "rounded", }, }, + event = "VeryLazy", + }, + { "folke/neodev.nvim", + dependencies = { + "neovim/nvim-lspconfig", -- Required by neodev for lspconfig.util + }, + event = "VeryLazy", + }, + { "williamboman/mason-lspconfig.nvim", + event = "VeryLazy", + }, + { "WhoIsSethDaniel/mason-tool-installer.nvim", + event = "VeryLazy", }, - event = "VeryLazy", - main = "pi.lsp", - opts = { - mason = { - enable = true, - auto_install = false, + { + name = "native-lsp", + dir = vim.fn.stdpath("config"), + event = "VeryLazy", + main = "pi.lsp", + opts = { + mason = { + enable = true, + auto_install = false, + }, }, }, } |