From 1141a18c5f113e618ef73ce0c0b35b1786f9764c Mon Sep 17 00:00:00 2001 From: jdhao Date: Wed, 6 Nov 2024 23:19:29 +0100 Subject: [PATCH] update config for pyright --- lua/config/lsp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 8cd83d5..d5dd354 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -144,8 +144,7 @@ if utils.executable('pyright') then lspconfig.pyright.setup { cmd = { "delance-langserver", "--stdio" }, on_attach = custom_attach, - -- capabilities = merged_capability, - capabilities = capabilities, + capabilities = merged_capability, settings = { pyright = { -- disable import sorting and use Ruff for this