fix: pyrefly taking too much memory

This commit is contained in:
huyjaky
2026-01-08 18:03:38 +07:00
parent 2cbd3d8d24
commit 5b565cebe7
3 changed files with 10 additions and 9 deletions

View File

@@ -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",