|
@@ -26,6 +26,7 @@ vmap <C-c> :w !pbcopy<CR><CR>
|
|
|
" force syntax on a few file types
|
|
|
autocmd BufNewFile,BufRead *.json set ft=javascript
|
|
|
autocmd BufNewFile,BufRead *.md set ft=markdown
|
|
|
+autocmd BufNewFile,BufRead *.go set filetype=go
|
|
|
|
|
|
" run js-beautify with the = key
|
|
|
autocmd FileType javascript setlocal equalprg=js-beautify\ -f\ -\ -q\ -t\ -j\ -w\ 140\ --good-stuff
|