aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_alot.vim1
-rw-r--r--src/nvim/testdir/test_autocmd.vim1
-rw-r--r--src/nvim/testdir/test_cmdline.vim1
-rw-r--r--src/nvim/testdir/test_diffmode.vim1
-rw-r--r--src/nvim/testdir/test_digraph.vim1
-rw-r--r--src/nvim/testdir/test_edit.vim17
-rw-r--r--src/nvim/testdir/test_normal.vim1
-rw-r--r--src/nvim/testdir/test_recover.vim2
-rw-r--r--src/nvim/testdir/test_search.vim1
-rw-r--r--src/nvim/testdir/test_undo.vim1
-rw-r--r--src/nvim/testdir/test_usercommands.vim1
-rw-r--r--src/nvim/testdir/test_visual.vim1
12 files changed, 1 insertions, 28 deletions
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim
index 1d979a924f..735c4bb691 100644
--- a/src/nvim/testdir/test_alot.vim
+++ b/src/nvim/testdir/test_alot.vim
@@ -1,7 +1,6 @@
" A series of tests that can run in one Vim invocation.
" This makes testing go faster, since Vim doesn't need to restart.
-set belloff=all
source test_assign.vim
source test_changedtick.vim
source test_cursor_func.vim
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
index 158dbfb8b3..9fc36f7e3a 100644
--- a/src/nvim/testdir/test_autocmd.vim
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -1,6 +1,5 @@
" Tests for autocommands
-set belloff=all
func! s:cleanup_buffers() abort
for bnr in range(1, bufnr('$'))
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
index 0d2dad80ce..19b0624c1f 100644
--- a/src/nvim/testdir/test_cmdline.vim
+++ b/src/nvim/testdir/test_cmdline.vim
@@ -1,6 +1,5 @@
" Tests for editing the command line.
-set belloff=all
func Test_complete_tab()
call writefile(['testfile'], 'Xtestfile')
diff --git a/src/nvim/testdir/test_diffmode.vim b/src/nvim/testdir/test_diffmode.vim
index 088ec5ccf6..d95b29759e 100644
--- a/src/nvim/testdir/test_diffmode.vim
+++ b/src/nvim/testdir/test_diffmode.vim
@@ -1,5 +1,4 @@
" Tests for diff mode
-set belloff=all
func Test_diff_fold_sync()
enew!
diff --git a/src/nvim/testdir/test_digraph.vim b/src/nvim/testdir/test_digraph.vim
index 30dc9a4683..6290680305 100644
--- a/src/nvim/testdir/test_digraph.vim
+++ b/src/nvim/testdir/test_digraph.vim
@@ -3,7 +3,6 @@
if !has("digraphs") || !has("multi_byte")
finish
endif
-set belloff=all
func! Put_Dig(chars)
exe "norm! o\<c-k>".a:chars
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim
index de1426ca42..0c54becde8 100644
--- a/src/nvim/testdir/test_edit.vim
+++ b/src/nvim/testdir/test_edit.vim
@@ -3,7 +3,6 @@
if exists("+t_kD")
let &t_kD="[3;*~"
endif
-set belloff=
" Needed for testing basic rightleft: Test_edit_rightleft
source view_util.vim
@@ -26,7 +25,6 @@ func! Test_edit_01()
" set for Travis CI?
" set nocp noesckeys
new
- set belloff=backspace
" 1) empty buffer
call assert_equal([''], getline(1,'$'))
" 2) delete in an empty line
@@ -59,7 +57,6 @@ func! Test_edit_01()
call cursor(1, 1)
call feedkeys("A\<del>\<esc>", 'tnix')
call assert_equal(["abc def", "ghi jkl"], getline(1, 2))
- set belloff=
let &bs=_bs
bw!
endfunc
@@ -449,13 +446,11 @@ func! Test_edit_00a_CTRL_A()
new
call setline(1, repeat([''], 5))
call cursor(1, 1)
- set belloff=all
try
call feedkeys("A\<NUL>", 'tnix')
catch /^Vim\%((\a\+)\)\=:E29/
call assert_true(1, 'E29 error caught')
endtry
- set belloff=
call cursor(1, 1)
call feedkeys("Afoobar \<esc>", 'tnix')
call cursor(2, 1)
@@ -484,7 +479,6 @@ endfunc
func! Test_edit_CTRL_G()
new
- set belloff=all
call setline(1, ['foobar', 'foobar', 'foobar'])
call cursor(2, 4)
call feedkeys("ioooooooo\<c-g>k\<c-r>.\<esc>", 'tnix')
@@ -498,7 +492,6 @@ func! Test_edit_CTRL_G()
call assert_equal([0, 3, 7, 0], getpos('.'))
call feedkeys("i\<c-g>j\<esc>", 'tnix')
call assert_equal([0, 3, 6, 0], getpos('.'))
- set belloff=
bw!
endfunc
@@ -578,7 +571,6 @@ func! Test_edit_CTRL_K()
%d
call setline(1, 'A')
call cursor(1, 1)
- set belloff=all
let v:testing = 1
try
call feedkeys("A\<c-x>\<c-k>\<esc>", 'tnix')
@@ -586,7 +578,6 @@ func! Test_edit_CTRL_K()
" error sleeps 2 seconds, when v:testing is not set
let v:testing = 0
endtry
- set belloff=
call delete('Xdictionary.txt')
if has("multi_byte") && !has("nvim")
@@ -828,7 +819,6 @@ func! Test_edit_CTRL_T()
%d
call setline(1, 'mad')
call cursor(1, 1)
- set belloff=all
let v:testing = 1
try
call feedkeys("A\<c-x>\<c-t>\<esc>", 'tnix')
@@ -836,7 +826,6 @@ func! Test_edit_CTRL_T()
" error sleeps 2 seconds, when v:testing is not set
let v:testing = 0
endtry
- set belloff=
call assert_equal(['mad'], getline(1, '$'))
call delete('Xthesaurus')
bw!
@@ -1009,7 +998,6 @@ endfunc
func! Test_edit_LEFT_RIGHT()
" Left, Shift-Left, Right, Shift-Right
new
- set belloff=all
call setline(1, ['abc def ghi', 'ABC DEF GHI', 'ZZZ YYY XXX'])
let _ww=&ww
set ww=
@@ -1051,7 +1039,6 @@ func! Test_edit_LEFT_RIGHT()
call feedkeys("A\<s-right>\<esc>", 'tnix')
call assert_equal([0, 3, 1, 0], getpos('.'))
let &ww = _ww
- set belloff=
bw!
endfunc
@@ -1111,7 +1098,6 @@ func! Test_edit_MOUSE()
endfunc
func! Test_edit_PAGEUP_PAGEDOWN()
- set belloff=all
10new
call setline(1, repeat(['abc def ghi'], 30))
call cursor(1, 1)
@@ -1207,12 +1193,10 @@ func! Test_edit_PAGEUP_PAGEDOWN()
call assert_equal([0, 30, 11, 0], getpos('.'))
call feedkeys("A\<S-Down>\<esc>", 'tnix')
call assert_equal([0, 30, 11, 0], getpos('.'))
- set startofline belloff=
bw!
endfunc
func! Test_edit_forbidden()
- set belloff=error,esc
new
" 1) edit in the sandbox is not allowed
call setline(1, 'a')
@@ -1269,7 +1253,6 @@ func! Test_edit_forbidden()
set norevins nofkmap
endtry
endif
- set belloff=
bw!
endfunc
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim
index 307f62e17a..c7c0dc164c 100644
--- a/src/nvim/testdir/test_normal.vim
+++ b/src/nvim/testdir/test_normal.vim
@@ -2,7 +2,6 @@
source shared.vim
-set belloff=all
func! Setup_NewWindow()
10new
call setline(1, range(1,100))
diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim
index 9effbdf46e..46d884a97c 100644
--- a/src/nvim/testdir/test_recover.vim
+++ b/src/nvim/testdir/test_recover.vim
@@ -22,7 +22,7 @@ endfunc
" blocks.
func Test_swap_file()
set directory=.
- set fileformat=unix undolevels=-1 belloff=all
+ set fileformat=unix undolevels=-1
edit! Xtest
let text = "\tabcdefghijklmnoparstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnoparstuvwxyz0123456789"
let i = 1
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim
index ffcc758055..9456f9c438 100644
--- a/src/nvim/testdir/test_search.vim
+++ b/src/nvim/testdir/test_search.vim
@@ -1,6 +1,5 @@
" Test for the search command
-set belloff=all
func Test_search_cmdline()
" See test/functional/legacy/search_spec.lua
throw 'skipped: Nvim does not support test_override()'
diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim
index 3373258708..2bc6073d52 100644
--- a/src/nvim/testdir/test_undo.vim
+++ b/src/nvim/testdir/test_undo.vim
@@ -3,7 +3,6 @@
" undo-able pieces. Do that by setting 'undolevels'.
" Also tests :earlier and :later.
-set belloff=all
func Test_undotree()
exe "normal Aabc\<Esc>"
set ul=100
diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim
index d2574fc0d0..db603610da 100644
--- a/src/nvim/testdir/test_usercommands.vim
+++ b/src/nvim/testdir/test_usercommands.vim
@@ -1,7 +1,6 @@
" Tests for user defined commands
" Test for <mods> in user defined commands
-set belloff=all
function Test_cmdmods()
let g:mods = ''
diff --git a/src/nvim/testdir/test_visual.vim b/src/nvim/testdir/test_visual.vim
index ace4dd9177..0f2e7e493e 100644
--- a/src/nvim/testdir/test_visual.vim
+++ b/src/nvim/testdir/test_visual.vim
@@ -3,7 +3,6 @@ if !has('visual')
finish
endif
-set belloff=all
func Test_block_shift_multibyte()
" Uses double-wide character.