diff options
Diffstat (limited to 'vim/.config/nvim/lsp/superhtml.lua')
| -rw-r--r-- | vim/.config/nvim/lsp/superhtml.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/superhtml.lua b/vim/.config/nvim/lsp/superhtml.lua new file mode 100644 index 0000000..7e68b25 --- /dev/null +++ b/vim/.config/nvim/lsp/superhtml.lua @@ -0,0 +1,22 @@ +---@brief +--- +--- https://github.com/kristoff-it/superhtml +--- +--- HTML Language Server & Templating Language Library +--- +--- This LSP is designed to tightly adhere to the HTML spec as well as enforcing +--- some additional rules that ensure HTML clarity. +--- +--- If you want to disable HTML support for another HTML LSP, add the following +--- to your configuration: +--- +--- ```lua +--- vim.lsp.config('superhtml', { +--- filetypes = { 'superhtml' } +--- }) +--- ``` +return { + cmd = { 'superhtml', 'lsp' }, + filetypes = { 'superhtml', 'html', "htmldjango" }, + root_markers = { '.git' }, +} |
