comparison runtime/doc/print.txt @ 27459:5825405e4e2c

Update runtime files Commit: https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 29 22:20:48 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 23:30:04 +0100
parents c2c40cefc17b
children d19b7aee1925
comparison
equal deleted inserted replaced
27458:2a7fc102cb91 27459:5825405e4e2c
1 *print.txt* For Vim version 8.2. Last change: 2021 Oct 04 1 *print.txt* For Vim version 8.2. Last change: 2022 Jan 23
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
176 176
177 If the expression starts with s: or |<SID>|, then it is replaced with the 177 If the expression starts with s: or |<SID>|, then it is replaced with the
178 script ID (|local-function|). Example: > 178 script ID (|local-function|). Example: >
179 set printexpr=s:MyPrintFile() 179 set printexpr=s:MyPrintFile()
180 set printexpr=<SID>SomePrintFile() 180 set printexpr=<SID>SomePrintFile()
181 < 181 Otherwise, the expression is evaluated in the context of the script where the
182 option was set, thus script-local items are available.
183
182 This option cannot be set from a |modeline| or in the |sandbox|, for security 184 This option cannot be set from a |modeline| or in the |sandbox|, for security
183 reasons. 185 reasons.
184 186
185 *pfn-option* *E613* 187 *pfn-option* *E613*
186 'printfont' 'pfn' string (default "courier") 188 'printfont' 'pfn' string (default "courier")