Skip to content

Commit

Permalink
Merge pull request #102 from monkoose/filetype
Browse files Browse the repository at this point in the history
Fix loading setting and syntax files multiple times
  • Loading branch information
Olical authored Mar 21, 2022
2 parents 9bf15df + fb3563d commit bd79727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftdetect/fennel.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ fun! s:DetectFennel()
endif
endfun

autocmd BufRead,BufNewFile *.fnl setlocal filetype=fennel
autocmd BufRead,BufNewFile *.fnl setfiletype fennel
autocmd BufNewFile,BufRead * call s:DetectFennel()

0 comments on commit bd79727

Please sign in to comment.