dotfiles/vim/.vim/ftdetect/antlr.vim

4 lines
94 B
VimL

au BufRead,BufNewFile *.g set filetype=antlr3
au BufRead,BufNewFile *.g4 set filetype=antlr4