From d9d51fdb2828b50617037727e4e8d8452b7b1977 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Fri, 25 Mar 2022 14:16:46 +0100 Subject: Add halfpipe filetype autocmd to highlight in vim --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index c815d5b..fc9ceb3 100644 --- a/.vimrc +++ b/.vimrc @@ -138,6 +138,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 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