diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-06-04 11:05:05 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-06-04 11:05:05 -0400 |
commit | 02e6914a938fcca98f9062d502accb4d68a65d6e (patch) | |
tree | b38b5515b75dcdf768fa6f65f629830f9a222c26 /src/nvim/ex_docmd.c | |
parent | 8958863e2678fd038ae089f837fa46d19574f977 (diff) | |
parent | 4e9f7684f636874e8127f0d018b32f8bc104a29f (diff) | |
download | rneovim-02e6914a938fcca98f9062d502accb4d68a65d6e.tar.gz rneovim-02e6914a938fcca98f9062d502accb4d68a65d6e.tar.bz2 rneovim-02e6914a938fcca98f9062d502accb4d68a65d6e.zip |
Merge pull request #4860 from jamessan/tab-win-precedence
tcd: Determine correct scope from user input
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index dd096af6b3..dea52ee112 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6865,6 +6865,9 @@ void post_chdir(CdScope scope) curwin->w_localdir = vim_strsave(NameBuff); } break; + case kCdScopeInvalid: + // We should never get here + assert(false); } shorten_fnames(TRUE); |