diff options
| Commit | 9d9062ba0b3d4f515e3858f95a45739688bab02a (patch) | |
|---|---|---|
| Author | 2025-11-07 18:21:48 +0200 | |
| Committer | 2025-11-07 18:21:48 +0200 | |
| Files | 564329c87778d8e54ca583b2031bc85c2e75ece2 /lua/plugins | |
| anderson-9d9062ba0b3d4f515e3858f95a45739688bab02a.tar anderson-9d9062ba0b3d4f515e3858f95a45739688bab02a.tar.gz anderson-9d9062ba0b3d4f515e3858f95a45739688bab02a.zip | ||
| Parent | f6fdd18d0b4679c344905286dafcd29f19f5c712 (diff) | |
fix(lsp): Use vim.lsp.config instead of require("lspconfig")
This is because of nvim 0.11
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | lua/plugins/lsp.lua | 4 |
diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6b438de..176bd84 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -39,7 +39,7 @@ return { }, config = function(_, opts) for k,v in pairs(opts) do - require("lspconfig")[k].setup(v) + vim.lsp.config(k, v) end end, }, @@ -123,7 +123,7 @@ return { automatic_installation = true, handlers = { function(server_name) - require('lspconfig')[server_name].setup({}) + vim.lsp.config(server_name, {}) end, }, }, |
