You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1002 B
56 lines
1002 B
---@type LazySpec
|
|
return {
|
|
{
|
|
"neovim/nvim-lspconfig",
|
|
config = function()
|
|
require("lspconfig").pyright.setup {
|
|
settings = {
|
|
python = {
|
|
analysis = {
|
|
autoSearchPaths = true,
|
|
diagnosticMode = "workspace",
|
|
useLibraryCodeForTypes = true,
|
|
typeCheckingMode = "off",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
end,
|
|
},
|
|
{
|
|
"williamboman/mason-lspconfig.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"lua_ls",
|
|
"pyright",
|
|
"html",
|
|
"jsonls",
|
|
"cssls",
|
|
"gopls",
|
|
"bashls",
|
|
"tailwindcss",
|
|
"templ",
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"jay-babu/mason-null-ls.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"prettier",
|
|
"stylua",
|
|
"djlint",
|
|
"isort",
|
|
"black",
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"jay-babu/mason-nvim-dap.nvim",
|
|
opts = {
|
|
ensure_installed = {
|
|
"python",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|