diff --git a/nvim/.config/nvim/lua/lsp/html.lua b/nvim/.config/nvim/lua/lsp/html.lua index b0c7ddb..2727629 100644 --- a/nvim/.config/nvim/lua/lsp/html.lua +++ b/nvim/.config/nvim/lua/lsp/html.lua @@ -4,7 +4,7 @@ require('lspconfig').html.setup { capabilities = common.cap, on_attach = common.attach, cmd = { "vscode-html-languageserver", "--stdio" }, - filetypes = { "html", "gotmpl", "handlebars" }, + filetypes = { "html", "template", "handlebars" }, } diff --git a/nvim/.config/nvim/lua/settings/go.lua b/nvim/.config/nvim/lua/settings/go.lua index 4f8ce71..ce550b6 100644 --- a/nvim/.config/nvim/lua/settings/go.lua +++ b/nvim/.config/nvim/lua/settings/go.lua @@ -1,8 +1,8 @@ vim.cmd [[ augroup gocmd - autocmd! - autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab - autocmd FileType gohtmltmpl setlocal ts=2 sts=2 sw=2 expandtab + autocmd! + autocmd FileType go setlocal ts=4 sts=4 sw=4 noexpandtab + autocmd FileType template setlocal ts=2 sts=2 sw=2 expandtab augroup END ]]