X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f6f762b6ab4a27d8102a86fc7a700a233fb3bf61..33112f3a6e08933f311b76e370fb1b236d60022b:/nvim/lua/plugins/lang/python.lua diff --git a/nvim/lua/plugins/lang/python.lua b/nvim/lua/plugins/lang/python.lua index aee4474..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, @@ -67,7 +67,8 @@ return { }, opts = { adapters = { - ["neotest-python"] = { }, + ["neotest-python"] = { + dap = { justMyCode = false }}, }, }, },