diff options
| author | Maria José Solano <majosolano99@gmail.com> | 2025-01-13 19:45:11 -0800 |
|---|---|---|
| committer | Maria José Solano <majosolano99@gmail.com> | 2025-01-14 21:25:25 -0800 |
| commit | 09e01437c968be4c6e9f6bb3ac8811108c58008c (patch) | |
| tree | 1e3842b02aeed91f80f04a82d0b2b37aac689355 /test/functional/ex_cmds | |
| parent | 850084b519e18122820478a71bb4bfa4c15e528a (diff) | |
| download | rneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.tar.gz rneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.tar.bz2 rneovim-09e01437c968be4c6e9f6bb3ac8811108c58008c.zip | |
refactor: use nvim.foo.bar format for autocommand groups
Diffstat (limited to 'test/functional/ex_cmds')
| -rw-r--r-- | test/functional/ex_cmds/swapfile_preserve_recover_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua b/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua index d1f598a9d8..f84fc140d2 100644 --- a/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua +++ b/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua @@ -173,7 +173,7 @@ describe('swapfile detection', function() local screen2 = Screen.new(256, 40) screen2._default_attr_ids = nil exec(init) - command('autocmd! nvim_swapfile') -- Delete the default handler (which skips the dialog). + command('autocmd! nvim.swapfile') -- Delete the default handler (which skips the dialog). -- With shortmess+=F command('set shortmess+=F') @@ -277,7 +277,7 @@ describe('swapfile detection', function() set_session(nvim1) screen:attach() exec(init) - command('autocmd! nvim_swapfile') -- Delete the default handler (which skips the dialog). + command('autocmd! nvim.swapfile') -- Delete the default handler (which skips the dialog). feed(':split Xfile1\n') -- The default SwapExists handler does _not_ skip this prompt. screen:expect({ @@ -296,7 +296,7 @@ describe('swapfile detection', function() set_session(nvim2) screen:attach() exec(init) - command('autocmd! nvim_swapfile') -- Delete the default handler (which skips the dialog). + command('autocmd! nvim.swapfile') -- Delete the default handler (which skips the dialog). command('set more') command('au bufadd * let foo_w = wincol()') feed(':e Xfile1<CR>') @@ -327,7 +327,7 @@ describe('swapfile detection', function() exec(init) if not swapexists then - command('autocmd! nvim_swapfile') -- Delete the default handler (which skips the dialog). + command('autocmd! nvim.swapfile') -- Delete the default handler (which skips the dialog). end command('set nohidden') |