Skip to content

Commit

Permalink
setlocal filetype instead of apparently troublesome setfiletype in ft…
Browse files Browse the repository at this point in the history
…detect
  • Loading branch information
elzr committed May 12, 2015
1 parent 1839a73 commit f5e3181
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ftdetect/json.vim
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
autocmd BufNewFile,BufRead *.json setfiletype json
autocmd BufNewFile,BufRead *.jsonp setfiletype json
autocmd BufNewFile,BufRead *.geojson setfiletype json
autocmd BufNewFile,BufRead *.json setlocal filetype=json
autocmd BufNewFile,BufRead *.jsonp setlocal filetype=json
autocmd BufNewFile,BufRead *.geojson setlocal filetype=json

0 comments on commit f5e3181

Please sign in to comment.