Closed MarkimGarito closed 12 months ago
Hey! can you try with:
lspconfig.emmet_language_server.setup({
filetypes = { "css", "eruby", "html", "javascript", "javascriptreact", "less", "sass", "scss", "svelte", "pug", "typescriptreact", "vue" },
init_options = {
--- @type table<string, any> https://docs.emmet.io/customization/preferences/
preferences = {},
--- @type "always" | "never" Defaults to `"always"`
showExpandedAbbreviation = "always",
--- @type boolean Defaults to `true`
showAbbreviationSuggestions = true,
--- @type boolean Defaults to `false`
showSuggestionsAsSnippets = false,
--- @type table<string, any> https://docs.emmet.io/customization/syntax-profiles/
syntaxProfiles = {
html = { tag_nl = "decide", tag_nl_leaf = true, inline_break = 1 },
jsx = { tag_nl = "decide", tag_nl_leaf = true, inline_break = 1 },
},
--- @type table<string, string> https://docs.emmet.io/customization/snippets/#variables
variables = {},
--- @type string[]
excludeLanguages = {},
},
})
Let me know if that helps.
Yes, it worked
Thanks
With html and js files the settings work, but with jsx they don't