aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/inccommand_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-31 17:44:13 +0200
committerGitHub <noreply@github.com>2022-05-31 17:44:13 +0200
commit7380ebfc17723662f6fe1e38372f54b3d67fe082 (patch)
treee079f85a72f851e5c0a8e08f52db0cb4a8b26163 /test/functional/ui/inccommand_spec.lua
parent5d840fa7e6ba7d58a89d3126ee914cb0e42168ca (diff)
parent46536f53e82967dcac8d030ee3394cdb156f9603 (diff)
downloadrneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.tar.gz
rneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.tar.bz2
rneovim-7380ebfc17723662f6fe1e38372f54b3d67fe082.zip
Merge pull request #18194 from famiu/feat/usercmd_preview
feat: user command "preview" (like inccommand)
Diffstat (limited to 'test/functional/ui/inccommand_spec.lua')
-rw-r--r--test/functional/ui/inccommand_spec.lua36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/functional/ui/inccommand_spec.lua b/test/functional/ui/inccommand_spec.lua
index a1ff778da1..a95cb0e83a 100644
--- a/test/functional/ui/inccommand_spec.lua
+++ b/test/functional/ui/inccommand_spec.lua
@@ -255,42 +255,6 @@ describe(":substitute, 'inccommand' preserves", function()
end)
end
- for _, case in pairs{"", "split", "nosplit"} do
- it("visual selection for non-previewable command (inccommand="..case..") #5888", function()
- local screen = Screen.new(30,10)
- common_setup(screen, case, default_text)
- feed('1G2V')
-
- feed(':s')
- screen:expect([[
- {vis:Inc substitution on} |
- t{vis:wo lines} |
- |
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- :'<,'>s^ |
- ]])
-
- feed('o')
- screen:expect([[
- {vis:Inc substitution on} |
- t{vis:wo lines} |
- |
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- {15:~ }|
- :'<,'>so^ |
- ]])
- end)
- end
-
for _, case in ipairs({'', 'split', 'nosplit'}) do
it('previous substitute string ~ (inccommand='..case..') #12109', function()
local screen = Screen.new(30,10)