Skip to content
Browse files

adding json syntax highlighting

  • Loading branch information...
1 parent e4a4730 commit 5954a13b3d0714c22330cbbf8c7409288d66aee8 Zachary Pitts committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 .vimrc
View
4 .vimrc
@@ -13,7 +13,9 @@ let mapleader = ","
syntax on
colorscheme molokai
-let g:molokai_original = 1
+let g:molokai_original = 0
map <leader>jt <Esc>:%!json_xs -f json -t json-pretty<CR>
+autocmd BufNewFile,BufRead *.json set ft=javascript
+
map <F2> :NERDTreeToggle<CR>

0 comments on commit 5954a13

Please sign in to comment.
Something went wrong with that request. Please try again.