refactor(dirchanged): tab -> tabpage

Match Vim's behavior.
This commit is contained in:
zeertzjq
2021-10-17 22:04:53 +08:00
parent 36290a2ebd
commit 6004f9137a
7 changed files with 38 additions and 43 deletions

View File

@@ -1034,9 +1034,9 @@ typedef enum {
/// directly, use `MIN_CD_SCOPE` and `MAX_CD_SCOPE` instead.
typedef enum {
kCdScopeInvalid = -1,
kCdScopeWindow, ///< Affects one window.
kCdScopeTab, ///< Affects one tab page.
kCdScopeGlobal, ///< Affects the entire Nvim instance.
kCdScopeWindow, ///< Affects one window.
kCdScopeTabpage, ///< Affects one tab page.
kCdScopeGlobal, ///< Affects the entire Nvim instance.
} CdScope;
#define MIN_CD_SCOPE kCdScopeWindow