mirror of
https://github.com/vim/vim.git
synced 2025-10-17 07:44:28 -04:00
Problem: Autoload script sources itself when defining function. Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro Matsumoto, closes #2423)
4 lines
64 B
VimL
4 lines
64 B
VimL
let g:loaded_sourced_vim += 1
|
|
func! sourced#something()
|
|
endfunc
|