forked from aniani/vim
patch 8.1.1291: not easy to change directory and restore
Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358)
This commit is contained in:
@@ -3555,3 +3555,10 @@ typedef struct {
|
||||
varnumber_T vv_count;
|
||||
varnumber_T vv_count1;
|
||||
} vimvars_save_T;
|
||||
|
||||
// Scope for changing directory
|
||||
typedef enum {
|
||||
CDSCOPE_GLOBAL, // :cd
|
||||
CDSCOPE_TABPAGE, // :tcd
|
||||
CDSCOPE_WINDOW // :lcd
|
||||
} cdscope_T;
|
||||
|
Reference in New Issue
Block a user