From b6183753b6c4312648684de49bb8331796b614f9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Thu, 28 Jul 2022 17:20:22 +0200 Subject: Add filetype mappings for yaml gotmpl --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 9954b32..beac2c5 100644 --- a/.vimrc +++ b/.vimrc @@ -139,7 +139,7 @@ nnoremap mj J autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb template files autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files autocmd BufNewFile,BufRead,BufReadPost *.tsx set syntax=javascript " better tsx highlighting than polyglot defaults -autocmd BufNewFile,BufRead .halfpipe.io set filetype=yaml " for highlighting halfpipe as YAML files +autocmd BufNewFile,BufRead *.yaml.gotmpl set filetype=yaml " for highlighting YAML go templates as yaml files " autocmd FileType markdown setlocal spell " spell check markdown files autocmd FileType gitcommit setlocal spell " spell check commits autocmd FileType gitcommit set complete+=spell " spell complete with CTRL+N/CTRL+P -- cgit v1.2.3