mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
fix(ui): s/format_entry/format_item to match docs (#15819)
Follow up to https://github.com/neovim/neovim/pull/15771
This commit is contained in:

committed by
GitHub

parent
63fde086d9
commit
9ca7b6b71a
@@ -149,7 +149,7 @@ M['textDocument/codeAction'] = function(_, result, ctx)
|
||||
|
||||
vim.ui.select(result, {
|
||||
prompt = 'Code actions:',
|
||||
format_entry = function(action)
|
||||
format_item = function(action)
|
||||
local title = action.title:gsub('\r\n', '\\r\\n')
|
||||
return title:gsub('\n', '\\n')
|
||||
end,
|
||||
|
Reference in New Issue
Block a user