Mercurial > vim
comparison src/gui.c @ 20113:2c23053c654a v8.2.0612
patch 8.2.0612: Vim9: no check for space before #comment
Commit: https://github.com/vim/vim/commit/2c5ed4e3300378ce76c8d9c3818d6f73e5119f68
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 20 19:42:10 2020 +0200
patch 8.2.0612: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Apr 2020 19:45:03 +0200 |
parents | 3d1de9093c01 |
children | 993d820196b9 |
comparison
equal
deleted
inserted
replaced
20112:b209e0dd46a4 | 20113:2c23053c654a |
---|---|
5034 #endif | 5034 #endif |
5035 // Clear the command. Needed for when forking+exiting, to avoid part | 5035 // Clear the command. Needed for when forking+exiting, to avoid part |
5036 // of the argument ending up after the shell prompt. | 5036 // of the argument ending up after the shell prompt. |
5037 msg_clr_eos_force(); | 5037 msg_clr_eos_force(); |
5038 #ifdef GUI_MAY_SPAWN | 5038 #ifdef GUI_MAY_SPAWN |
5039 if (!ends_excmd(*eap->arg)) | 5039 if (!ends_excmd2(eap->cmd, eap->arg)) |
5040 gui_start(eap->arg); | 5040 gui_start(eap->arg); |
5041 else | 5041 else |
5042 #endif | 5042 #endif |
5043 gui_start(NULL); | 5043 gui_start(NULL); |
5044 #ifdef FEAT_JOB_CHANNEL | 5044 #ifdef FEAT_JOB_CHANNEL |
5045 channel_gui_register_all(); | 5045 channel_gui_register_all(); |
5046 #endif | 5046 #endif |
5047 } | 5047 } |
5048 if (!ends_excmd(*eap->arg)) | 5048 if (!ends_excmd2(eap->cmd, eap->arg)) |
5049 ex_next(eap); | 5049 ex_next(eap); |
5050 } | 5050 } |
5051 | 5051 |
5052 #if ((defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) \ | 5052 #if ((defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) \ |
5053 || defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_PHOTON) \ | 5053 || defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_PHOTON) \ |