update and added config for templ

This commit is contained in:
Oluwatobi 2024-01-16 13:49:36 +01:00
parent 3c5d202b1b
commit 19568cdfe2
4 changed files with 34 additions and 31 deletions

View file

@ -10,6 +10,7 @@ require('conform').setup {
typescript = { { 'prettier' } },
go = { { 'gofumpt', 'goimports-reviser', 'golines' } },
java = { 'google-java-format' },
templ = { 'templ' },
},
}

View file

@ -8,6 +8,7 @@ lsp.ensure_installed {
'pyright',
'tsserver',
'rust_analyzer',
'templ',
}
-- Fix Undefined global 'vim'

View file

@ -34,6 +34,7 @@ require('nvim-treesitter.configs').setup {
'html',
'javascript',
'typescript',
'templ',
},
context_commentstring = {
enable = true,