diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-07-28 17:20:22 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-07-28 17:21:09 +0200 |
| commit | b6183753b6c4312648684de49bb8331796b614f9 (patch) | |
| tree | 6bd2cacaa2dc423f3898375dc8b9a3b5efa6b6e1 /.vimrc | |
| parent | 1990176ddbbdba158c68eafe4f0f238fae3c5b29 (diff) | |
Add filetype mappings for yaml gotmpl
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
