mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
tabpage_S: Name tp_localdir per convention.
This commit is contained in:
@@ -10901,7 +10901,7 @@ static void f_getcwd(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
}
|
||||
case kCdScopeTab: // FALLTHROUGH
|
||||
assert(tp);
|
||||
from = tp->localdir;
|
||||
from = tp->tp_localdir;
|
||||
if (from) {
|
||||
break;
|
||||
}
|
||||
@@ -12015,7 +12015,7 @@ static void f_haslocaldir(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
break;
|
||||
case kCdScopeTab:
|
||||
assert(tp);
|
||||
rettv->vval.v_number = tp->localdir ? 1 : 0;
|
||||
rettv->vval.v_number = tp->tp_localdir ? 1 : 0;
|
||||
break;
|
||||
case kCdScopeGlobal:
|
||||
// The global scope never has a local directory
|
||||
|
Reference in New Issue
Block a user