X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/7bd5fa10e6ed23f8664207ff3103a6171ac64452..8d210310c8a26bd1924329f1ef260429bde69cc8:/nvim/lua/plugins/lang/python.lua diff --git a/nvim/lua/plugins/lang/python.lua b/nvim/lua/plugins/lang/python.lua index 480d567..899bfb3 100644 --- a/nvim/lua/plugins/lang/python.lua +++ b/nvim/lua/plugins/lang/python.lua @@ -13,7 +13,7 @@ return { ---@type lspconfig.options servers = { pyright = {}, - ruff_lsp = { + ruff = { root_dir = function(fname) return require("lspconfig.util").root_pattern("pyproject.toml", "setup.cfg", "ruff.toml")(fname) end,