summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-27 20:37:57 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-27 20:37:57 +0200
commit00aa069db8132851a91cfc5ca7f58ef945c75c73 (patch)
tree54e88e9f1c4a981eb265015eabdc2cde2931cc5e /src/structs.h
parent2155a6abaa5d065ad7b580229321860591126f2e (diff)
downloadvim-git-00aa069db8132851a91cfc5ca7f58ef945c75c73.tar.gz
patch 8.1.1218: cannot set a directory for a tab pagev8.1.1218
Problem: Cannot set a directory for a tab page. Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 89749e5c2..40e87d550 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -2574,6 +2574,9 @@ struct tabpage_S
int tp_prev_which_scrollbars[3];
/* previous value of which_scrollbars */
#endif
+
+ char_u *tp_localdir; // absolute path of local directory or
+ // NULL
#ifdef FEAT_DIFF
diff_T *tp_first_diff;
buf_T *(tp_diffbuf[DB_COUNT]);