mirror of
https://github.com/neovim/neovim.git
synced 2026-05-27 07:18:36 +00:00
fix(oldtests): move useful settings from ignored unix.vim
the unix.vim file was probably accidentally ignored at some point. An actual invokation of nvim-under-test would in practice look like ["/path/to/neovim/build/bin/nvim", "-u", "unix.vim", "-U", "NONE", "-i", "NONE", "--noplugin", "--headless", "-u", "NONE", "--cmd", "set shortmess-=F", "-S", "runtest.vim", "test_arabic.vim"] but -u NONE cancels out the earlier -u unix.vim By now, too many tests rely on specific behavior from "NONE", so copy in the useful parts of unix.vim to the cmdline again. also, some tests conflict with `directory=.` (or even `directory=Xtempswapdir`) so don't use that. `-U NONE` is dead code in Nvim, remove it.
This commit is contained in:
@@ -12,4 +12,4 @@ endif
|
||||
set encoding=utf-8
|
||||
|
||||
" Use safer defaults for various directories
|
||||
set backupdir=. directory=. undodir=. viewdir=.
|
||||
set backupdir=. undodir=. viewdir=.
|
||||
|
||||
Reference in New Issue
Block a user