comparison runtime/doc/options.txt @ 17372:b9bc47742df6

Update runtime files commit https://github.com/vim/vim/commit/396e829fa355ebc92a618ef18266a3fed71b7042 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 13 23:04:31 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 Jul 2019 23:15:05 +0200
parents f1c7b7a4d9e4
children ce35cdbe9f74
comparison
equal deleted inserted replaced
17371:1062026cb98c 17372:b9bc47742df6
1 *options.txt* For Vim version 8.1. Last change: 2019 Jun 27 1 *options.txt* For Vim version 8.1. Last change: 2019 Jul 06
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1140 \ ' on word "' . v:beval_text . '"' 1140 \ ' on word "' . v:beval_text . '"'
1141 endfunction 1141 endfunction
1142 set bexpr=MyBalloonExpr() 1142 set bexpr=MyBalloonExpr()
1143 set ballooneval 1143 set ballooneval
1144 < 1144 <
1145 Also see |balloon_show()|, can be used if the content of the balloon 1145 Also see |balloon_show()|, it can be used if the content of the balloon
1146 is to be fetched asynchronously. 1146 is to be fetched asynchronously. In that case evaluating
1147 'balloonexpr' should result in an empty string. If you get a balloon
1148 with only "0" you probably didn't return anything from your function.
1147 1149
1148 NOTE: The balloon is displayed only if the cursor is on a text 1150 NOTE: The balloon is displayed only if the cursor is on a text
1149 character. If the result of evaluating 'balloonexpr' is not empty, 1151 character. If the result of evaluating 'balloonexpr' is not empty,
1150 Vim does not try to send a message to an external debugger (Netbeans 1152 Vim does not try to send a message to an external debugger (Netbeans
1151 or Sun Workshop). 1153 or Sun Workshop).
1153 The expression will be evaluated in the |sandbox| when set from a 1155 The expression will be evaluated in the |sandbox| when set from a
1154 modeline, see |sandbox-option|. 1156 modeline, see |sandbox-option|.
1155 This option cannot be set in a modeline when 'modelineexpr' is off. 1157 This option cannot be set in a modeline when 'modelineexpr' is off.
1156 1158
1157 It is not allowed to change text or jump to another window while 1159 It is not allowed to change text or jump to another window while
1158 evaluating 'balloonexpr' |textlock|. 1160 evaluating 'balloonexpr', see |textlock|.
1159 1161
1160 To check whether line breaks in the balloon text work use this check: > 1162 To check whether line breaks in the balloon text work use this check: >
1161 if has("balloon_multiline") 1163 if has("balloon_multiline")
1162 < When they are supported "\n" characters will start a new line. If the 1164 < When they are supported "\n" characters will start a new line. If the
1163 expression evaluates to a |List| this is equal to using each List item 1165 expression evaluates to a |List| this is equal to using each List item