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.
|
|
|
return {
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
dependencies = {
|
|
|
|
{
|
|
|
|
"folke/lazydev.nvim",
|
|
|
|
ft = "lua",
|
|
|
|
opts = {
|
|
|
|
library = {
|
|
|
|
{ path = "${3rd}/luv/library", words = { "vim%.uv" } },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
|
|
|
local lspconfig = require "lspconfig"
|
|
|
|
lspconfig.lua_ls.setup { capabilities = capabilities }
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"williamboman/mason-lspconfig.nvim",
|
|
|
|
dependencies = {
|
|
|
|
{ "williamboman/mason.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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|