summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2016-04-15 16:25:07 +0200
committerAhmed Abdelhalim <[email protected]>2016-04-15 16:25:07 +0200
commitc01b3018cd6bc8c54c820e381101eabb774ec7f0 (patch)
tree98cc5e3712bb08bc654a1a1354a18e0499b782c9 /.vimrc
parentde2dd6c07633b8073fe8d8b587bb3effc1c716d7 (diff)
FEAT: allow JsBeautify json files
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 84a0ca5..b96f997 100644
--- a/.vimrc
+++ b/.vimrc
@@ -154,6 +154,7 @@ autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files
autocmd BufRead,BufNewFile *.markdown setlocal spell " spell check md files
autocmd FileType gitcommit setlocal spell " spell check commits
autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr>
+autocmd FileType json noremap <buffer> <c-f> :call JsBeautify()<cr>
autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr>
autocmd FileType css noremap <buffer> <c-f> :call CSSBeautify()<cr>
autocmd FileType scss noremap <buffer> <c-f> :call CSSBeautify()<cr>