summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2022-03-25 14:16:46 +0100
committerAhmed Abdelhalim <[email protected]>2022-03-25 14:16:46 +0100
commitd9d51fdb2828b50617037727e4e8d8452b7b1977 (patch)
treeb1a63e2f69c1d1f744c52412134c40dd16ad1ad2 /.vimrc
parent7ed57c8f58b09dd27618c4ebb5bc623169801651 (diff)
Add halfpipe filetype autocmd to highlight in vim
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index c815d5b..fc9ceb3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -138,6 +138,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 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