⚙️ config(hypr): set ruff as default ruff lsp intead of ruff-lsp

This commit is contained in:
Sergio Laín 2024-05-05 13:39:43 +02:00
parent 8ab0b763aa
commit 0d14385b4c
No known key found for this signature in database
GPG key ID: FB00AF7015FFE76B

View file

@ -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,
}, },