Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Use autocmd (vs. au).
Browse files Browse the repository at this point in the history
  • Loading branch information
albertosantini committed Jun 6, 2017
1 parent b08cb44 commit a23af2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftdetect/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ function! s:SelectJavascript()
setfiletype javascript
endif
endfun
au BufNewFile,BufRead * call s:SelectJavascript()
autocmd BufNewFile,BufRead * call s:SelectJavascript()

0 comments on commit a23af2c

Please sign in to comment.