Use BufNewFile,BufRead for query filetype

This commit is contained in:
Shatur95 2021-04-24 17:29:00 +03:00 committed by Stephan Seitz
parent 45e6ea9996
commit 9e0f764b67

View file

@ -8,4 +8,4 @@ function! s:shouldFt(path)
endif
endfunction
autocmd BufEnter,BufNewFile *.scm call s:shouldFt(expand("%"))
autocmd BufNewFile,BufRead *.scm call s:shouldFt(expand("%"))