blob: a91e52e164819d02395aeee8277fa97adfe41943 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'templ', 'lsp' },
filetypes = { 'templ' },
root_dir = function(fname)
return util.root_pattern('go.work', 'go.mod', '.git')(fname)
end,
},
docs = {
description = [[
https://templ.guide
The official language server for the templ HTML templating language.
]],
},
}
|