Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commentExpr ----------- * the UDL targets "legacy" Vim script, in which comments begin with a double quote ("), not a hash (#) as in Vim9 script [^1] mainExpr, nameExpr ------------------ * allow "namespaced" functions like those encountered in many Vim plugins. The conventional pattern is `<vim_script_file_name>#<func_name>`, assuming `<vim_script_file_name>` can be found on the file system. Any sub-directories must also be part of the name, similar to a Java package, e.g., <root_dir>#<sub_dir>#<vim_script_file_name>#<func_name> A namespaced function cannot be qualified with `s:` because the auto-generated script id of a "private" function makes the name differ from the name of the file or directory on disk * end the function name pattern with `\w*` instead of `\w+` to allow single-letter function names --- [^1] https://vimhelp.org/vim9.txt.html#vim9-differences
- Loading branch information