aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom Andreev <artandra@icloud.com>2023-06-04 04:03:25 +0300
committerGitHub <noreply@github.com>2023-06-03 18:03:25 -0700
commit96e19533f60add50eea4598560bbd56de3b1fca3 (patch)
tree862aea1038d6fc901d1be09d56a99fae2a55cfd2
parent53f30de2becded95f9113b75367a9dd7563c183e (diff)
downloadrneovim-96e19533f60add50eea4598560bbd56de3b1fca3.tar.gz
rneovim-96e19533f60add50eea4598560bbd56de3b1fca3.tar.bz2
rneovim-96e19533f60add50eea4598560bbd56de3b1fca3.zip
feat(lsp): set kind in select call for codelens #23889
-rw-r--r--runtime/lua/vim/lsp/codelens.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/codelens.lua b/runtime/lua/vim/lsp/codelens.lua
index 005a0047fa..ea8c52c334 100644
--- a/runtime/lua/vim/lsp/codelens.lua
+++ b/runtime/lua/vim/lsp/codelens.lua
@@ -97,6 +97,7 @@ function M.run()
else
vim.ui.select(options, {
prompt = 'Code lenses:',
+ kind = 'codelens',
format_item = function(option)
return option.lens.command.title
end,