feat(templ): templ lsp is now started with 'go tool'
This commit is contained in:
parent
7ef4740c44
commit
21468a1738
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
require('lspconfig').templ.setup{}
|
require('lspconfig').templ.setup{
|
||||||
|
cmd = { 'go', 'tool', 'templ', 'lsp' },
|
||||||
|
}
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||||
pattern = "*.templ",
|
pattern = "*.templ",
|
||||||
|
|
Loading…
Add table
Reference in a new issue