lambdalisue / vim-gista

An alternative gist.vim, vim plugin which manipulate gists in Vim.
http://www.vim.org/scripts/script.php?script_id=4976
MIT License
156 stars 5 forks source link

Empty description on :Gista post causes an error #69

Closed tyru closed 8 years ago

tyru commented 8 years ago

I want to post quickly with even no description ;)

:Gista post
Please input a description of a gist:

function gista#command#command[26]..gista#command#post#command[35]..gista#command#post#call[8]..<SNR>265_interactive_description の処理中にエラーが検出されました:
行   13:
E118: 関数の引数が多過ぎます: gista#throw

https://gist.github.com/tyru/c1617d36ff5dfac88e91

lambdalisue commented 8 years ago

Fixed.

Btw, You can allow an empty description with g:gista#command#post#allow_empty_description or suppress interactive input with g:gista#command#post#interactive_description ;-)

tyru commented 8 years ago

Confirmed. Thanks! Also confirmed the following setting!

let g:gista#command#post#allow_empty_description = 1