We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9170567 commit bd941d0Copy full SHA for bd941d0
autoload/gist.vim
@@ -1,7 +1,7 @@
1
"=============================================================================
2
" File: gist.vim
3
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
4
-" Last Change: 15-Oct-2013.
+" Last Change: 17-Oct-2013.
5
" Version: 7.1
6
" WebPage: http://github.com/mattn/gist-vim
7
" License: BSD
@@ -19,6 +19,11 @@ if !executable('curl')
19
finish
20
endif
21
22
+if globpath(&rtp, 'autoload/webapi/http.vim') == ''
23
+ echohl ErrorMsg | echomsg "Gist: require 'webapi', install https://github.com/mattn/webapi-vim" | echohl None
24
+ finish
25
+endif
26
+
27
let s:gist_token_file = expand(get(g:, 'gist_token_file', '~/.gist-vim'))
28
let s:system = function(get(g:, 'webapi#system_function', 'system'))
29
0 commit comments