diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-21 15:39:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-21 15:39:02 +0100 |
commit | f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089 (patch) | |
tree | cf41b3c62e71e9fca5ddc61636465ab5e05283a9 /runtime | |
parent | 2d8ed0203aedd5f6c22efa99394a3677c17c7a7a (diff) | |
download | vim-git-f79d9dd43f6fe05711d7e2616ab4b8bde2ccb089.tar.gz |
patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989
Problem: Cannot specify a function name for :defcompile.
Solution: Implement a function name argument for :defcompile.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/vim9.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index 5a0e5bf88..479edc57c 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1210,7 +1210,14 @@ prefix if they do not exist at the time of compiling. *:defc* *:defcompile* :defc[ompile] Compile functions defined in the current script that were not compiled yet. - This will report errors found during the compilation. + This will report any errors found during compilation. + +:defc[ompile] {func} +:defc[ompile] debug {func} +:defc[ompile] profile {func} + Compile function {func}, if needed. Use "debug" and + "profile" to specify the compilation mode. + This will report any errors found during compilation. *:disa* *:disassemble* :disa[ssemble] {func} Show the instructions generated for {func}. |