Age | Commit message (Collapse) | Author |
|
Problem: Autoload tests fails.
Solution: Use export instead of name with #.
|
|
Problem: Disallowing empty function name breaks existing plugins.
Solution: Allow empty function name in legacy script.
|
|
Problem: Autoload script sourced twice if sourced directly.
Solution: Do not source an autoload script again. (issue #6644)
|
|
Problem: Vim9: using Vim9 script for autaload not tested.
Solution: Add a test. Update help.
|
|
Problem: Cannot use a user defined function as a method.
Solution: Pass the base as the first argument to the user defined function
after "->". (partly by FUJIWARA Takuya)
|
|
Problem: Autoload script sources itself when defining function.
Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro
Matsumoto, closes #2423)
|
|
Problem: Cannot call a dict function in autoloaded dict.
Solution: Call get_lval() passing the read-only flag.
|
|
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes #2290)
|
|
Problem: Fixes are not tested.
Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
|
|
Problem: Get E685 error when assigning a function to an autoload variable.
(Yukihiro Nakadaira)
Solution: Instead of having a global no_autoload variable, pass an autoload
flag down to where it is used. (ZyX)
|