This commit is contained in:
sadanslargehole 2024-05-19 16:53:54 -04:00
parent 0232a5a1ab
commit 825e452eba
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800

View file

@ -4,25 +4,29 @@ require("neodev").setup({
}) })
local capabilities = require("cmp_nvim_lsp").default_capabilities() local capabilities = require("cmp_nvim_lsp").default_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true capabilities.textDocument.completion.completionItem.snippetSupport = true
require'lspconfig'.emmet_ls.setup{
capabilities = capabilities,
}
capabilities.textDocument.foldingRange = { capabilities.textDocument.foldingRange = {
dynamicRegistration = false, dynamicRegistration = false,
lineFoldingOnly = true, lineFoldingOnly = true,
} }
require'lspconfig'.nginx_language_server.setup{ require'lspconfig'.emmet_ls.setup{
capabilities = capabilities, capabilities = capabilities,
} }
require("lspconfig").cssls.setup({
capabilities = capabilities,
})
require("lspconfig").nginx_language_server.setup({
capabilities = capabilities,
})
require("lspconfig").bashls.setup({ require("lspconfig").bashls.setup({
capabilities = capabilities, capabilities = capabilities,
}) })
require'lspconfig'.html.setup { require'lspconfig'.html.setup {
capabilities = capabilities, capabilities = capabilities,
} }
require("lspconfig").nil_ls.setup({ require("lspconfig").nil_ls.setup({
capabilities = capabilities, capabilities = capabilities,
}) })
require("lspconfig").jsonls.setup({ require("lspconfig").jsonls.setup({
capabilities = capabilities, capabilities = capabilities,