Mercurial > vim
comparison src/if_cscope.c @ 22699:e82579016863 v8.2.1898
patch 8.2.1898: command modifier parsing always uses global cmdmod
Commit: https://github.com/vim/vim/commit/e10044015841711b989f9a898d427bcc1fdb4c32
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 24 20:49:43 2020 +0200
patch 8.2.1898: command modifier parsing always uses global cmdmod
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Oct 2020 21:00:05 +0200 |
parents | 88070e222e82 |
children | 7c257af6ccf5 |
comparison
equal
deleted
inserted
replaced
22698:28523bc9ee71 | 22699:e82579016863 |
---|---|
210 { | 210 { |
211 (void)msg_puts(_("This cscope command does not support splitting the window.\n")); | 211 (void)msg_puts(_("This cscope command does not support splitting the window.\n")); |
212 return; | 212 return; |
213 } | 213 } |
214 postponed_split = -1; | 214 postponed_split = -1; |
215 postponed_split_flags = cmdmod.split; | 215 postponed_split_flags = cmdmod.cmod_split; |
216 postponed_split_tab = cmdmod.tab; | 216 postponed_split_tab = cmdmod.cmod_tab; |
217 } | 217 } |
218 | 218 |
219 cmdp->func(eap); | 219 cmdp->func(eap); |
220 | 220 |
221 postponed_split_flags = 0; | 221 postponed_split_flags = 0; |