Mercurial > vim
comparison runtime/doc/options.txt @ 2350:06feaf4fe36a vim73
Rename some "python3" symbols to "py3", as the command name.
Documentation updates.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 19 Jul 2010 20:46:22 +0200 |
parents | 586a459f3980 |
children | d8e4b27cef80 |
comparison
equal
deleted
inserted
replaced
2349:586a459f3980 | 2350:06feaf4fe36a |
---|---|
3123 local to buffer | 3123 local to buffer |
3124 {not in Vi} | 3124 {not in Vi} |
3125 {not available when compiled without the |+eval| | 3125 {not available when compiled without the |+eval| |
3126 feature} | 3126 feature} |
3127 Expression which is evaluated to format a range of lines for the |gq| | 3127 Expression which is evaluated to format a range of lines for the |gq| |
3128 operator. When this option is empty 'formatprg' is used. | 3128 operator or automatic formatting (see 'formatoptions'). When this |
3129 option is empty 'formatprg' is used. | |
3129 | 3130 |
3130 The |v:lnum| variable holds the first line to be formatted. | 3131 The |v:lnum| variable holds the first line to be formatted. |
3131 The |v:count| variable holds the number of lines to be formatted. | 3132 The |v:count| variable holds the number of lines to be formatted. |
3132 The |v:char| variable holds the character that is going to be | 3133 The |v:char| variable holds the character that is going to be |
3133 inserted. This can be empty. Don't insert it yet! | 3134 inserted if the expression is being evaluated due to |
3135 automatic formatting. This can be empty. Don't insert | |
3136 it yet! | |
3134 | 3137 |
3135 Example: > | 3138 Example: > |
3136 :set formatexpr=mylang#Format() | 3139 :set formatexpr=mylang#Format() |
3137 < This will invoke the mylang#Format() function in the | 3140 < This will invoke the mylang#Format() function in the |
3138 autoload/mylang.vim file in 'runtimepath'. |autoload| | 3141 autoload/mylang.vim file in 'runtimepath'. |autoload| |