diff --git a/nvim/lua/core/langs/python.lua b/nvim/lua/core/langs/python.lua index 80510bb..3cfdd3f 100644 --- a/nvim/lua/core/langs/python.lua +++ b/nvim/lua/core/langs/python.lua @@ -10,8 +10,20 @@ local M = { lsp_servers = { { - lsp_name = "pyright", - lsp_settings = {}, + lsp_name = "basedpyright", + lsp_settings = { + basedpyright = { + analysis = { + diagnosticMode = "workspace", -- openFilesOnly | workspace + inlayHints = { + callArgumentNames = true, + }, + autoImportCompletions = true, + autoSearchPaths = true, + }, + disableOrganizeImports = true, + }, + }, }, { lsp_name = "ruff",