Skip to content

Commit eeb3a93

Browse files
Sunjay Cauligiscauligi
authored andcommitted
slightly better ftdetect
1 parent dbd0016 commit eeb3a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftdetect/hy.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
au BufRead,BufNewFile *.hy set filetype=hy
1+
au BufRead,BufNewFile *.hy setf hy
22

33
fun! s:DetectHyShebang()
44
if getline(1) =~# '^#!.*/bin/env\s\+hy\>'
5-
set ft=hy
5+
setf hy
66
endif
77
endfun
88

0 commit comments

Comments
 (0)