Last active
August 29, 2015 14:07
-
-
Save a-b/5a59768b89b65decc6ad to your computer and use it in GitHub Desktop.
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
"Pig syntax | |
augroup filetypedetect | |
au BufNewFile,BufRead *.pig set filetype=pig syntax=pig | |
"Hive syntax | |
au BufNewFile,BufRead *.hql set filetype=sql syntax=sql | |
au BufNewFile,BufRead *.gradle set filetype=groovy syntax=groovy | |
augroup END | |
au BufRead,BufNewFile *.json set filetype=json foldmethod=syntax | |
"au! Syntax json source $HOME/.janus/JSON.vim/syntax/json.vim | |
au FileType json command -range=% -nargs=* Tidy <line1>,<line2>! json_xs -f json -t json-pretty | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment