diff options
Diffstat (limited to 'lsp/superhtml.lua')
| -rw-r--r-- | lsp/superhtml.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lsp/superhtml.lua b/lsp/superhtml.lua new file mode 100644 index 00000000..878f8a9a --- /dev/null +++ b/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' }, + root_markers = { '.git' }, +} |
