summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2022-07-28 17:20:22 +0200
committerAhmed Abdelhalim <[email protected]>2022-07-28 17:21:09 +0200
commitb6183753b6c4312648684de49bb8331796b614f9 (patch)
tree6bd2cacaa2dc423f3898375dc8b9a3b5efa6b6e1 /.vimrc
parent1990176ddbbdba158c68eafe4f0f238fae3c5b29 (diff)
Add filetype mappings for yaml gotmpl
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 9954b32..beac2c5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -139,7 +139,7 @@ nnoremap <silent> <leader>mj <C-W>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