Mercurial > vim
comparison src/tag.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 | 808edde1e97d |
children | a84e7abb0c92 |
comparison
equal
deleted
inserted
replaced
22698:28523bc9ee71 | 22699:e82579016863 |
---|---|
3461 if (wp != NULL) | 3461 if (wp != NULL) |
3462 getfile_result = GETFILE_SAME_FILE; | 3462 getfile_result = GETFILE_SAME_FILE; |
3463 } | 3463 } |
3464 } | 3464 } |
3465 if (getfile_result == GETFILE_UNUSED | 3465 if (getfile_result == GETFILE_UNUSED |
3466 && (postponed_split || cmdmod.tab != 0)) | 3466 && (postponed_split || cmdmod.cmod_tab != 0)) |
3467 { | 3467 { |
3468 if (win_split(postponed_split > 0 ? postponed_split : 0, | 3468 if (win_split(postponed_split > 0 ? postponed_split : 0, |
3469 postponed_split_flags) == FAIL) | 3469 postponed_split_flags) == FAIL) |
3470 { | 3470 { |
3471 --RedrawingDisabled; | 3471 --RedrawingDisabled; |