nvim: Add superhtml lsp
Added html LSP 'superhtml' (only works for HTML5) and also use it for formatting html (and 'shtml') files, replacing prettier. Superhtml seems faster at formatting html and allows switching between single-line and multi-line tags by adding/removing a space in front of or behind an html tag, very nifty.
This commit is contained in:
parent
f4c439d58e
commit
1c96ea6d81
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ local languages = {
|
|||
dap = { "delve" },
|
||||
},
|
||||
graphql = { format = { graphql = { "prettier" } } },
|
||||
html = { format = { html = { "prettier", "rustywind" } } },
|
||||
html = { lsp = { superhtml = {} }, format = { shtml = { "superhtml" }, html = { "superhtml", "rustywind" } } },
|
||||
julia = { lsp = { julials = {} }, ts = { "julia" } },
|
||||
json = {
|
||||
lsp = { jsonls = {} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue