mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
functests: Use . for various folder defaults in tests
This commit is contained in:
parent
ec1ca54d59
commit
6b17d35ff1
@ -7,7 +7,7 @@ local Session = require('nvim.session')
|
|||||||
|
|
||||||
local nvim_prog = os.getenv('NVIM_PROG') or 'build/bin/nvim'
|
local nvim_prog = os.getenv('NVIM_PROG') or 'build/bin/nvim'
|
||||||
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
|
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
|
||||||
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 encoding=utf-8',
|
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 encoding=utf-8 undodir=. directory=. viewdir=. backupdir=.',
|
||||||
'--embed'}
|
'--embed'}
|
||||||
|
|
||||||
-- Formulate a path to the directory containing nvim. We use this to
|
-- Formulate a path to the directory containing nvim. We use this to
|
||||||
|
@ -18,7 +18,7 @@ describe('72', function()
|
|||||||
|
|
||||||
-- Test 'undofile': first a simple one-line change.
|
-- Test 'undofile': first a simple one-line change.
|
||||||
execute('set visualbell')
|
execute('set visualbell')
|
||||||
execute('set ul=100 undofile nomore')
|
execute('set ul=100 undofile undodir=. nomore')
|
||||||
execute('e! Xtestfile')
|
execute('e! Xtestfile')
|
||||||
feed('ggdGithis is one line<esc>:set ul=100<cr>')
|
feed('ggdGithis is one line<esc>:set ul=100<cr>')
|
||||||
execute('s/one/ONE/')
|
execute('s/one/ONE/')
|
||||||
|
Loading…
Reference in New Issue
Block a user