fix: pyrefly taking too much memory
This commit is contained in:
@@ -43,7 +43,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
vim.lsp.enable "pyrefly"
|
||||
vim.lsp.config("pyrefly", {
|
||||
-- example of how to run `uv` installed Pyrefly without adding to your path
|
||||
cmd = { "pyrefly", "lsp" },
|
||||
cmd = { "pyrefly", "lsp", "--indexing-mode", "none" },
|
||||
filetypes = { "python" },
|
||||
root_markers = {
|
||||
"pyrefly.toml",
|
||||
|
||||
@@ -116,6 +116,7 @@ return {
|
||||
-- client.server_capabilities.definitionProvider = false
|
||||
-- client.server_capabilities.diagnosticProvider = nil
|
||||
-- client.server_capabilities.inlayHintProvider = nil
|
||||
|
||||
client.server_capabilities.hoverProvider = false
|
||||
client.server_capabilities.signatureHelpProvider = nil
|
||||
client.server_capabilities.completionProvider = nil
|
||||
|
||||
Reference in New Issue
Block a user