aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-21 18:08:56 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-21 18:08:56 +0800
commit6e69a3c3e79fd78b31753343213e68e73b0048c4 (patch)
treefde79b4be29f81880d5337ff5eb75864836c82da /test/functional/api/vim_spec.lua
parent8300d337c89dc3ef943694bc1d44f32145a74f0d (diff)
downloadrneovim-6e69a3c3e79fd78b31753343213e68e73b0048c4.tar.gz
rneovim-6e69a3c3e79fd78b31753343213e68e73b0048c4.tar.bz2
rneovim-6e69a3c3e79fd78b31753343213e68e73b0048c4.zip
refactor: remove CSI unescaping and clean up related names and comments
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r--test/functional/api/vim_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index 22201e21a2..201ba45803 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -1367,18 +1367,18 @@ describe('API', function()
end)
describe('nvim_feedkeys', function()
- it('CSI escaping', function()
+ it('K_SPECIAL escaping', function()
local function on_setup()
-- notice the special char(…) \xe2\80\xa6
nvim('feedkeys', ':let x1="…"\n', '', true)
-- Both nvim_replace_termcodes and nvim_feedkeys escape \x80
local inp = helpers.nvim('replace_termcodes', ':let x2="…"<CR>', true, true, true)
- nvim('feedkeys', inp, '', true) -- escape_csi=true
+ nvim('feedkeys', inp, '', true) -- escape_ks=true
- -- nvim_feedkeys with CSI escaping disabled
+ -- nvim_feedkeys with K_SPECIAL escaping disabled
inp = helpers.nvim('replace_termcodes', ':let x3="…"<CR>', true, true, true)
- nvim('feedkeys', inp, '', false) -- escape_csi=false
+ nvim('feedkeys', inp, '', false) -- escape_ks=false
helpers.stop()
end