Created
April 15, 2009 14:37
-
-
Save graywh/95799 to your computer and use it in GitHub Desktop.
detect .r files as R filetype in vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if exists("did_load_filetypes") | |
finish | |
endif | |
augroup filetypedetect | |
" R | |
autocmd! BufNewFile,BufRead *.[rRsS] setfiletype r | |
autocmd! BufNewFile,BufRead *.[rR]history setfiletype r | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment