Files
ale/autoload/ale
w0rp 8f7ccdc5e9 Refactor the "s:LoadArgCount()" function (#3025)
* Refactor the "s:LoadArgCount()" function

Previously, this function would always set "v:errmsg" on the first
call with a given function.  This is because autoloaded functions
are not defined on the first call.

A number of improvements have been made:
 - a useless local function ("l:Function") is removed
 - the "execute()" builtin captures the output, instead of ":redir"
 - a ":try" block handles the case where a function is not defined
 - a useless ":if" is removed since ":redir" always defines the var
 - confusing quoting is re-written (remove double "'" chars)

Fixes: #3021
2020-03-04 20:56:22 +00:00
..
2019-11-09 16:28:49 +07:00
2019-11-14 14:50:21 +00:00
2018-07-23 20:41:48 +01:00
2019-02-06 18:05:13 +00:00
2019-07-01 11:04:33 -04:00
2019-06-03 20:30:18 +01:00
2018-09-08 16:05:34 -04:00
2019-08-28 00:28:58 +08:00
2019-02-06 18:05:13 +00:00
2019-02-20 11:08:27 +09:00