Html

Installing LSP
:LspInstall html emmet_language_server
Installing Formatter
:MasonInstall prettier
TailwindCSS

:LspInstall tailwindcss
If mason is not supported on your platform
Setup LSP
go to: ~/.config/nvim/lua/userconfig/lsp.lua
and add these lines
lsp.lua
vim.lsp.config('html', {
capabilities = capabilities,
on_attach = on_attach
})
vim.lsp.config('emmet_language_server', {
capabilities = capabilities,
on_attach = on_attach
})
vim.lsp.config('tailwindcss', {
capabilities = capabilities,
on_attach = on_attach
})Formatter
If lsp does not provide a formatter, you can use the following command: :Neoformat click here (opens in a new tab) for more information