aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/superhtml.lua
blob: 522b62b5b5b6472db71dcb38b2890bf2d90c8597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---@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' }
--- })
--- ```

---@type vim.lsp.Config
return {
  cmd = { 'superhtml', 'lsp' },
  filetypes = { 'superhtml', 'html' },
  root_markers = { '.git' },
}