comparison runtime/doc/usr_52.txt @ 29193:1e9e9d89f0ee

Update runtime files Commit: https://github.com/vim/vim/commit/d592deb336523a5448779ee3d4bba80334cff1f7 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 17 15:42:40 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Jun 2022 16:45:04 +0200
parents f3ec3c57e070
children f8116058ca76
comparison
equal deleted inserted replaced
29192:e4488cf0eff9 29193:1e9e9d89f0ee
181 A mechanism from before import/export is still useful and some users may find 181 A mechanism from before import/export is still useful and some users may find
182 it a bit simpler. The idea is that you call a function with a special name. 182 it a bit simpler. The idea is that you call a function with a special name.
183 That function is then in an autoload script. We will call that one script a 183 That function is then in an autoload script. We will call that one script a
184 library script. 184 library script.
185 185
186 The autoload mechanism is based on a funtion name that has "#" characters: > 186 The autoload mechanism is based on a function name that has "#" characters: >
187 187
188 mylib#myfunction(arg) 188 mylib#myfunction(arg)
189 189
190 Vim will recognize the function name by the embedded "#" character and when 190 Vim will recognize the function name by the embedded "#" character and when
191 it is not defined yet search for the script "autoload/mylib.vim" in 191 it is not defined yet search for the script "autoload/mylib.vim" in