Skip to content

Commit 93e7ba3

Browse files
committed
bugfix
1 parent 085f856 commit 93e7ba3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lua/easycomplete/cmdline.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function this.select(index)
126126
return vim.fn['easycomplete#pum#select'](index)
127127
end
128128

129-
function this.select_next()
129+
function this.pum_select_next()
130130
vim.fn['easycomplete#pum#next']()
131131
if vim.g.easycomplete_cmdline_pattern == '/' then
132132
return ""
@@ -136,7 +136,7 @@ function this.select_next()
136136
return new_whole_word
137137
end
138138

139-
function this.select_prev()
139+
function this.pum_select_prev()
140140
vim.fn['easycomplete#pum#prev']()
141141
if vim.g.easycomplete_cmdline_pattern == '/' then
142142
return ""
@@ -193,11 +193,11 @@ function this.bind_cmdline_event()
193193
})
194194

195195
vim.keymap.set("c", "<Tab>", function()
196-
return this.select_next()
196+
return this.pum_select_next()
197197
end, { expr = true, noremap = true })
198198

199199
vim.keymap.set("c", "<S-Tab>", function()
200-
return this.select_prev()
200+
return this.pum_select_prev()
201201
end, { expr = true, noremap = true })
202202

203203
vim.on_key(function(keys, _)

0 commit comments

Comments
 (0)