Skip to content

Commit

Permalink
home-manager/neovim: ruff-lsp -> ruff server
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed May 23, 2024
1 parent 05fdf43 commit e374017
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
1 change: 0 additions & 1 deletion home-manager/dev/python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
pyright
python3
ruff
ruff-lsp
];
};
}
19 changes: 17 additions & 2 deletions home-manager/editor/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,23 @@ in
},
{ "clojure_lsp" },
{ "gopls" },
{ "pyright" },
{ "ruff_lsp" },
{ "pyright",
opts = {
settings = {
pyright = {
-- Using Ruff's import organizer
disableOrganizeImports = true,
},
python = {
analysis = {
-- Ignore all files for analysis to exclusively use Ruff for linting
ignore = { '*' },
},
},
},
},
},
{ "ruff" },
{ "cssls" },
{ "eslint" },
{ "html" },
Expand Down

0 comments on commit e374017

Please sign in to comment.