Created
May 17, 2011 10:37
-
-
Save vaclavbohac/976274 to your computer and use it in GitHub Desktop.
Detecting latte syntax in vim.
This file contains hidden or 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
| " ~/.vim/filetype.vim | |
| " Detecting latte in vim. | |
| if exists("did_load_filetypes") | |
| finish | |
| endif | |
| augroup filetypedetect | |
| au! BufRead,BufNewFile *.latte setfiletype smarty | |
| au! BufRead,BufNewFile *.phtml setfiletype smarty | |
| au! BufRead,BufNewFile *.neon setfiletype yaml | |
| augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment