Mercurial > vim
comparison runtime/doc/eval.txt @ 16944:d23afa4d8b63
Update runtime files.
commit https://github.com/vim/vim/commit/61da1bfa6c6b19dd670671a318ce9f9e2acc784c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 6 12:14:49 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Jun 2019 12:15:07 +0200 |
parents | 1689b52cf297 |
children | e18b1c654d09 |
comparison
equal
deleted
inserted
replaced
16943:2f0579d6b1e5 | 16944:d23afa4d8b63 |
---|---|
1 *eval.txt* For Vim version 8.1. Last change: 2019 May 30 | 1 *eval.txt* For Vim version 8.1. Last change: 2019 Jun 04 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
10332 effects. Use |:noautocmd| if needed. | 10332 effects. Use |:noautocmd| if needed. |
10333 Example: > | 10333 Example: > |
10334 call win_execute(winid, 'set syntax=python') | 10334 call win_execute(winid, 'set syntax=python') |
10335 < Doing the same with `setwinvar()` would not trigger | 10335 < Doing the same with `setwinvar()` would not trigger |
10336 autocommands and not actually show syntax highlighting. | 10336 autocommands and not actually show syntax highlighting. |
10337 *E994* | |
10338 Not all commands are allowed in popup windows. | |
10337 | 10339 |
10338 win_findbuf({bufnr}) *win_findbuf()* | 10340 win_findbuf({bufnr}) *win_findbuf()* |
10339 Returns a list with |window-ID|s for windows that contain | 10341 Returns a list with |window-ID|s for windows that contain |
10340 buffer {bufnr}. When there is none the list is empty. | 10342 buffer {bufnr}. When there is none the list is empty. |
10341 | 10343 |
11576 :unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* | 11578 :unlo[ckvar][!] [depth] {name} ... *:unlockvar* *:unlo* |
11577 Unlock the internal variable {name}. Does the | 11579 Unlock the internal variable {name}. Does the |
11578 opposite of |:lockvar|. | 11580 opposite of |:lockvar|. |
11579 | 11581 |
11580 | 11582 |
11581 :if {expr1} *:if* *:endif* *:en* *E171* *E579* *E580* | 11583 :if {expr1} *:if* *:end* *:endif* *:en* *E171* *E579* *E580* |
11582 :en[dif] Execute the commands until the next matching ":else" | 11584 :en[dif] Execute the commands until the next matching ":else" |
11583 or ":endif" if {expr1} evaluates to non-zero. | 11585 or ":endif" if {expr1} evaluates to non-zero. |
11584 | 11586 |
11585 From Vim version 4.5 until 5.0, every Ex command in | 11587 From Vim version 4.5 until 5.0, every Ex command in |
11586 between the ":if" and ":endif" is ignored. These two | 11588 between the ":if" and ":endif" is ignored. These two |