|
1 | 1 | "=============================================================================
|
2 | 2 | " File: gist.vim
|
3 | 3 | " Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
4 | | -" Last Change: 04-Mar-2015. |
| 4 | +" Last Change: 21-Mar-2015. |
5 | 5 | " Version: 7.2
|
6 | 6 | " WebPage: http://github.com/mattn/gist-vim
|
7 | 7 | " License: BSD
|
|
28 | 28 | if globpath(&rtp, 'autoload/webapi/http.vim') ==# ''
|
29 | 29 | echohl ErrorMsg | echomsg 'Gist: require ''webapi'', install https://github.com/mattn/webapi-vim' | echohl None
|
30 | 30 | finish
|
| 31 | +else |
| 32 | + call webapi#json#true() |
31 | 33 | endif
|
32 | 34 |
|
33 | 35 | let s:gist_token_file = expand(get(g:, 'gist_token_file', '~/.gist-vim'))
|
|
0 commit comments