]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/lang/python.lua
nvim: add git related parsers to treesitter
[dotfiles.git] / nvim / lua / plugins / lang / python.lua
index aee447408359e0c64712599ec45084f3d911d635..899bfb36cdf3da4d9439017f7d0d179576289a1c 100644 (file)
@@ -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 }},
       },
     },
   },