Mercurial > vim
comparison src/help.c @ 22518:81ae5fa92928 v8.2.1807
patch 8.2.1807: can use :help in a terminal popup window
Commit: https://github.com/vim/vim/commit/349f609f8990a3aca9a4b8faa0585d75e03116db
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 6 20:46:49 2020 +0200
patch 8.2.1807: can use :help in a terminal popup window
Problem: Can use :help in a terminal popup window.
Solution: Give an error. (closes https://github.com/vim/vim/issues/7088)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 06 Oct 2020 21:00:03 +0200 |
parents | 5db63c2c6929 |
children | 431367075f29 |
comparison
equal
deleted
inserted
replaced
22517:6acf73cc1863 | 22518:81ae5fa92928 |
---|---|
36 char_u *lang; | 36 char_u *lang; |
37 #endif | 37 #endif |
38 #ifdef FEAT_FOLDING | 38 #ifdef FEAT_FOLDING |
39 int old_KeyTyped = KeyTyped; | 39 int old_KeyTyped = KeyTyped; |
40 #endif | 40 #endif |
41 | |
42 if (ERROR_IF_ANY_POPUP_WINDOW) | |
43 return; | |
41 | 44 |
42 if (eap != NULL) | 45 if (eap != NULL) |
43 { | 46 { |
44 // A ":help" command ends at the first LF, or at a '|' that is | 47 // A ":help" command ends at the first LF, or at a '|' that is |
45 // followed by some text. Set nextcmd to the following command. | 48 // followed by some text. Set nextcmd to the following command. |