Skip to content

Commit

Permalink
Add support for JSON files.
Browse files Browse the repository at this point in the history
  • Loading branch information
drmikehenry committed Aug 13, 2016
1 parent 7fdd155 commit bea992c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ require adjustment of per-user settings.
- Add some functions in vimrc to help locate script-local symbols
(GetSymbol(), GetSID(), GetScript(), ScriptPaths()).

- Add support for JSON files.

2016-06-19
==========

Expand Down
1 change: 1 addition & 0 deletions after/ftplugin/json.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SetupJson
9 changes: 9 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -5526,6 +5526,15 @@ function! SetupJavaScript()
endfunction
command! -bar SetupJavaScript call SetupJavaScript()

" -------------------------------------------------------------
" Setup for JSON
" -------------------------------------------------------------
function! SetupJson()
SetupSource
Highlight nolonglines
endfunction
command! -bar SetupJson call SetupJson()

" -------------------------------------------------------------
" Setup for LLVM source code.
" -------------------------------------------------------------
Expand Down

0 comments on commit bea992c

Please sign in to comment.