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:
bfredl
2026-04-02 12:16:59 +02:00
parent 65ef6cec1c
commit 0ce48e7a9c
2 changed files with 5 additions and 6 deletions

View File

@@ -12,4 +12,4 @@ endif
set encoding=utf-8
" Use safer defaults for various directories
set backupdir=. directory=. undodir=. viewdir=.
set backupdir=. undodir=. viewdir=.