forked from aniani/vim
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.
This commit is contained in:
@@ -1144,7 +1144,7 @@ ex_mkrc(exarg_T *eap)
|
||||
fname = (char_u *)EXRC_FILE;
|
||||
|
||||
#ifdef FEAT_BROWSE
|
||||
if (cmdmod.browse)
|
||||
if (cmdmod.cmod_flags & CMOD_BROWSE)
|
||||
{
|
||||
browseFile = do_browse(BROWSE_SAVE,
|
||||
# ifdef FEAT_SESSION
|
||||
|
Reference in New Issue
Block a user