feat(templ): templ lsp is now started with 'go tool'

This commit is contained in:
Bruno Carlin 2025-02-11 15:23:05 +01:00
parent 7ef4740c44
commit 21468a1738

View file

@ -1,4 +1,6 @@
require('lspconfig').templ.setup{}
require('lspconfig').templ.setup{
cmd = { 'go', 'tool', 'templ', 'lsp' },
}
vim.api.nvim_create_autocmd("BufWritePre", {
pattern = "*.templ",