Last active
December 22, 2015 12:39
-
-
Save becyn/6473831 to your computer and use it in GitHub Desktop.
.vimrcの一部(nodeを使うにあたって追加したシンタックスハイライトたち)
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
syntax enable | |
let g:quickrun_config={} | |
"JS | |
autocmd BufNewFile,BufRead *.js set tabstop=2 shiftwidth=2 expandtab | |
"JSON | |
autocmd BufNewFile,BufRead *.json set filetype=json | |
autocmd BufNewFile,BufRead *.json set tabstop=2 shiftwidth=2 expandtab | |
"Jade | |
autocmd BufNewFile,BufRead *.jade setf jade | |
autocmd BufNewFile,BufRead *.jade set tabstop=2 shiftwidth=2 expandtab | |
let g:quickrun_config['jade']={'command': 'jade', 'cmdopt': '-P', 'exec': ['%c &o < %s']} | |
"stylus | |
autocmd BufNewFile,BufRead *.styl setf stylus | |
autocmd BufNewFile,BufRead *.styl set tabstop=2 shiftwidth=2 expandtab | |
let g:quickrun_config['stylus']={'command': 'stylus', 'exec': ['%c < %s']} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment