This commit is contained in:
sadanslargehole 2024-05-19 16:49:15 -04:00
parent 6742b2432b
commit 0232a5a1ab
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800
2 changed files with 13 additions and 1 deletions

View file

@ -8,6 +8,12 @@ local plugins = {
{
"windwp/nvim-ts-autotag"
},
{
"barrett-ruth/live-server.nvim",
build = "pnpm add -g live-server",
cmd = { "LiveServerStart", "LiveServerStop" },
config = true,
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },

View file

@ -3,7 +3,10 @@ require("neodev").setup({
-- add any options here, or leave empty to use the default settings
})
local capabilities = require("cmp_nvim_lsp").default_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
require'lspconfig'.emmet_ls.setup{
capabilities = capabilities,
}
capabilities.textDocument.foldingRange = {
dynamicRegistration = false,
lineFoldingOnly = true,
@ -15,6 +18,9 @@ require'lspconfig'.nginx_language_server.setup{
require("lspconfig").bashls.setup({
capabilities = capabilities,
})
require'lspconfig'.html.setup {
capabilities = capabilities,
}
require("lspconfig").nil_ls.setup({
capabilities = capabilities,
})