From eaa857238c4d4306e40afe370938a8e623a1d661 Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 21 Mar 2024 12:46:58 +0100 Subject: [PATCH] Removed plugin defs for neodev to speed up lsp --- lua/taken/plugins/lsp/lspconfig.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lua/taken/plugins/lsp/lspconfig.lua b/lua/taken/plugins/lsp/lspconfig.lua index b5861fa..f110793 100644 --- a/lua/taken/plugins/lsp/lspconfig.lua +++ b/lua/taken/plugins/lsp/lspconfig.lua @@ -20,7 +20,19 @@ return { vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) end - neodev.setup({}) + neodev.setup({ + library = { + enabled = true, + runtime = true, + types = true, + plugins = { + "lazy.nvim", + }, + }, + setup_jsonls = false, + lspconfig = true, + pathStrict = true, + }) local defaultLsps = { "html", "cssls", "pyright", "jsonls" }