diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2021-09-28 01:12:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 16:12:03 -0700 |
commit | 9ca7b6b71a1e98ff6a76270d165fc8f07763a0c3 (patch) | |
tree | 9586fce59a9169c998ddfc6a0cd47a8c44ddc5bf /runtime/lua/vim/lsp/handlers.lua | |
parent | 63fde086d9e7936b21c51e145253ec69820b2112 (diff) | |
download | rneovim-9ca7b6b71a1e98ff6a76270d165fc8f07763a0c3.tar.gz rneovim-9ca7b6b71a1e98ff6a76270d165fc8f07763a0c3.tar.bz2 rneovim-9ca7b6b71a1e98ff6a76270d165fc8f07763a0c3.zip |
fix(ui): s/format_entry/format_item to match docs (#15819)
Follow up to https://github.com/neovim/neovim/pull/15771
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r-- | runtime/lua/vim/lsp/handlers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua index 538bd2605b..def83a7320 100644 --- a/runtime/lua/vim/lsp/handlers.lua +++ b/runtime/lua/vim/lsp/handlers.lua @@ -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, |