diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-12-10 18:33:55 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-01-02 10:43:45 +0900 |
commit | 0c43479979547ed84b2a898dcc7816767333cc80 (patch) | |
tree | 5ba56dc83b674ef81468d909602647d97f3c8ccc /src/nvim/eval.lua | |
parent | c5f4b92ff93a40ec4e77b78d0576903e7a60eefd (diff) | |
download | rneovim-0c43479979547ed84b2a898dcc7816767333cc80.tar.gz rneovim-0c43479979547ed84b2a898dcc7816767333cc80.tar.bz2 rneovim-0c43479979547ed84b2a898dcc7816767333cc80.zip |
vim-patch:7.4.2015
Problem: When a file gets a name when writing it 'acd' is not effective.
(Dan Church)
Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
vim/vim#777, closes vim/vim#803) Add test_autochdir() to enable 'acd' before
"starting" is reset.
https://github.com/vim/vim/commit/5c71994f4ee5f87d4cce990dbc9684c70b1e108b
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 980a8d2326..9022103c7d 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -301,6 +301,7 @@ return { tan={args=1, func="float_op_wrapper", data="&tan"}, tanh={args=1, func="float_op_wrapper", data="&tanh"}, tempname={}, + test_autochdir={}, termopen={args={1, 2}}, test={args=1}, timer_start={args={2,3}}, |