]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: use ruff for python lsp
authorSamir Benmendil <me@rmz.io>
Mon, 27 Jan 2025 22:34:14 +0000 (22:34 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 27 Jan 2025 22:34:14 +0000 (22:34 +0000)
ruff_lsp seems to be deprecated.

nvim/lua/plugins/lang/python.lua

index 480d567b18e2633679af065d6ea08c483bc9e24c..899bfb36cdf3da4d9439017f7d0d179576289a1c 100644 (file)
@@ -13,7 +13,7 @@ return {
       ---@type lspconfig.options
       servers = {
         pyright = {},
       ---@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,
           root_dir = function(fname)
             return require("lspconfig.util").root_pattern("pyproject.toml", "setup.cfg", "ruff.toml")(fname)
           end,