⚙️ config(hypr): set ruff as default ruff lsp intead of ruff-lsp
This commit is contained in:
parent
8ab0b763aa
commit
0d14385b4c
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
-- LSP Server to use for Python.
|
-- LSP Server to use for Python.
|
||||||
-- Set to "basedpyright" to use basedpyright instead of pyright.
|
-- Set to "basedpyright" to use basedpyright instead of pyright.
|
||||||
vim.g.lazyvim_python_lsp = "basedpyright"
|
vim.g.lazyvim_python_lsp = "basedpyright"
|
||||||
|
vim.g.lazyvim_python_ruff = "ruff"
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{ import = "lazyvim.plugins.extras.lang.python" },
|
{ import = "lazyvim.plugins.extras.lang.python" },
|
||||||
|
@ -50,7 +51,7 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
ruff = {
|
[vim.g.lazyvim_python_ruff] = {
|
||||||
handlers = {
|
handlers = {
|
||||||
["textDocument/publishDiagnostics"] = function() end,
|
["textDocument/publishDiagnostics"] = function() end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue