aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2016-12-10 18:49:33 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2017-01-02 10:45:10 +0900
commit6ba3b8538245d1176b869734c76f2688709cf106 (patch)
tree493eea3f33884d6743f2f58b1b7a618bca4fd639 /src
parent0c43479979547ed84b2a898dcc7816767333cc80 (diff)
downloadrneovim-6ba3b8538245d1176b869734c76f2688709cf106.tar.gz
rneovim-6ba3b8538245d1176b869734c76f2688709cf106.tar.bz2
rneovim-6ba3b8538245d1176b869734c76f2688709cf106.zip
vim-patch:6f1d9a
Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.c2
-rw-r--r--src/nvim/globals.h2
-rw-r--r--src/nvim/testdir/Makefile3
-rw-r--r--src/nvim/testdir/test_alot.vim1
4 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 6bcc3ca986..48b51f1e9f 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -17162,7 +17162,7 @@ static void f_tempname(typval_T *argvars, typval_T *rettv, FunPtr fptr)
// "test_autochdir()" function
static void f_test_autochdir(typval_T *argvars, typval_T *rettv, FunPtr fptr)
{
- test_autochdir = TRUE;
+ test_autochdir = true;
}
// "termopen(cmd[, cwd])" function
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index bfc6a14ad8..db4600ee4e 100644
--- a/src/nvim/globals.h
+++ b/src/nvim/globals.h
@@ -641,7 +641,7 @@ EXTERN volatile int full_screen INIT(= FALSE);
/* TRUE when doing full-screen output
* otherwise only writing some messages */
-EXTERN int test_autochdir INIT(= FALSE);
+EXTERN int test_autochdir INIT(= false);
EXTERN int restricted INIT(= FALSE);
// TRUE when started in restricted mode (-Z)
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 84a0c0b889..5bb7fd1dda 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -30,6 +30,7 @@ SCRIPTS := \
# Tests using runtest.vim.vim.
# Keep test_alot*.res as the last one, sort the others.
NEW_TESTS = \
+ test_autochdir.res \
test_bufwintabinfo.res \
test_cmdline.res \
test_cscope.res \
@@ -43,8 +44,8 @@ NEW_TESTS = \
test_quickfix.res \
test_signs.res \
test_syntax.res \
- test_usercommands.res \
test_timers.res \
+ test_usercommands.res \
test_viml.res \
test_visual.res \
test_window_id.res \
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim
index 54a2795d4a..818ff7cf54 100644
--- a/src/nvim/testdir/test_alot.vim
+++ b/src/nvim/testdir/test_alot.vim
@@ -3,7 +3,6 @@
source test_assign.vim
source test_autocmd.vim
-source test_autochdir.vim
source test_cursor_func.vim
source test_ex_undo.vim
source test_expr.vim