Skip to content

Commit

Permalink
Add .arb, Active Admin files views extensions, to be considered Ruby …
Browse files Browse the repository at this point in the history
…file (#16)
  • Loading branch information
bvicenzo authored Dec 14, 2021
1 parent aacfcb5 commit 61ac616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ set statusline^=%{get(g:,'coc_git_status','')}%{get(b:,'coc_git_status','')}%{ge
" run the above commands only if vim is compiled with autocmd
if has("autocmd")
autocmd BufWritePost .vimrc source $MYVIMRC " apply .vimrc settings on save
autocmd BufWritePre *.rb,*.erb,*.html,*.js,*.css,*.php,*.py,*.json :call <SID>StripTrailingWhitespaces() " remove trailing white spaces before saving (only in specified filetypes)
autocmd BufWritePre *.rb,*.arb,*.erb,*.html,*.js,*.css,*.php,*.py,*.json :call <SID>StripTrailingWhitespaces() " remove trailing white spaces before saving (only in specified filetypes)
endif

" function to remove trailing white space (while saving cursor position)
Expand Down

0 comments on commit 61ac616

Please sign in to comment.