Skip to content

Commit

Permalink
Syntax highlighting for JSON files
Browse files Browse the repository at this point in the history
* Convince Vim that JSON is just javascript
  • Loading branch information
Adarsh Pandit committed Nov 23, 2012
1 parent 11bdc52 commit 515a9b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Expand Up @@ -151,3 +151,6 @@ set wildignore+=*/tmp/*,*tags*,*.swp

" Format Markdown by reminding Vim that Markdown files end in .md
au BufRead,BufNewFile *.md set filetype=markdown

" Syntax highlight JSON files by convincing Vim it's JavaScript
autocmd BufNewFile,BufRead *.json set ft=javascript

0 comments on commit 515a9b7

Please sign in to comment.