diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-03-25 14:16:46 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-03-25 14:16:46 +0100 |
| commit | d9d51fdb2828b50617037727e4e8d8452b7b1977 (patch) | |
| tree | b1a63e2f69c1d1f744c52412134c40dd16ad1ad2 | |
| parent | 7ed57c8f58b09dd27618c4ebb5bc623169801651 (diff) | |
Add halfpipe filetype autocmd to highlight in vim
| -rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
