diff options
Diffstat (limited to 'runtime/doc/print.txt')
-rw-r--r-- | runtime/doc/print.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/print.txt b/runtime/doc/print.txt index e24b6b0347..ef3e47d32c 100644 --- a/runtime/doc/print.txt +++ b/runtime/doc/print.txt @@ -155,6 +155,11 @@ an error message. In that case Vim will delete the file. In the default value for non-MS-Windows a trick is used: Adding "v:shell_error" will result in a non-zero number when the system() call fails. +If the expression starts with s: or |<SID>|, then it is replaced with the +script ID (|local-function|). Example: > + set printexpr=s:MyPrintFile() + set printexpr=<SID>SomePrintFile() +< This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. |