changed some nonsense, will see if works

This commit is contained in:
2026-05-03 18:07:14 +01:00
parent 98c809990b
commit 169c146b1f
2 changed files with 18 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
# LSPs
lua-language-server
vscode-langservers-extracted
emmet-ls
emmet-language-server
rust-analyzer
ast-grep
prettier

View File

@@ -17,17 +17,22 @@ vim.lsp.config("lua_ls", {
},
},
})
vim.lsp.config("emmet_ls", {
-- capabilities = require("cmp_nvim_lsp").default_capabilities(),
filetypes = { "html", "css", "javascriptreact", "typescriptreact" },
init_options = {
html = {
options = {
["bem.enabled"] = true,
},
},
},
})
-- vim.lsp.config("emmet_language_server", {
-- -- capabilities = require("cmp_nvim_lsp").default_capabilities(),
-- filetypes = { "html", "css", "javascriptreact", "typescriptreact" },
-- init_options = {
-- preferences = {},
-- show_expanded_abbreviation = "always",
-- show_abbreviation_suggestions = true,
-- show_suggestions_as_snippets = true,
-- html = {
-- options = {
-- ["bem.enabled"] = true,
-- ["output.selfClosingStyle"] = "xhtml",
-- },
-- },
-- },
-- })
vim.lsp.enable({
"lua_ls",
"ts_ls",
@@ -35,7 +40,7 @@ vim.lsp.enable({
"cssls",
"nixd",
"rust_analyzer",
"emmet_ls",
"emmet_language_server",
})
vim.o.pumborder = "rounded"