blob: 7178d3ef4bcd0e4f15ae3db24ee913aafb72561e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
return {
{
"williamboman/mason.nvim",
config = function()
require("mason").setup()
end
},
{
"williamboman/mason-lspconfig.nvim",
config = function()
require("mason-lspconfig").setup({
ensure_installed = { "lua_ls", "clangd", "html", "cssls" }
})
end
},
{
"neovim/nvim-lspconfig",
config = function()
local lspconfig = require("lspconfig")
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
lspconfig.lua_ls.setup({})
lspconfig.clangd.setup({})
lspconfig.html.setup({capabilities = capabilities,})
lspconfig.cssls.setup({capabilities = capabilities,})
end
}
}
|