diff --git a/.config/nvim/lua/plugins/extras/lang/python-extended.lua b/.config/nvim/lua/plugins/extras/lang/python-extended.lua index adb6eaf8..47a6fa8d 100644 --- a/.config/nvim/lua/plugins/extras/lang/python-extended.lua +++ b/.config/nvim/lua/plugins/extras/lang/python-extended.lua @@ -1,6 +1,7 @@ -- LSP Server to use for Python. -- Set to "basedpyright" to use basedpyright instead of pyright. vim.g.lazyvim_python_lsp = "basedpyright" +vim.g.lazyvim_python_ruff = "ruff" return { { import = "lazyvim.plugins.extras.lang.python" }, @@ -50,7 +51,7 @@ return { }, }, }, - ruff = { + [vim.g.lazyvim_python_ruff] = { handlers = { ["textDocument/publishDiagnostics"] = function() end, },