Number of suggestions as a component? #59
-
I see that the Is there any way to have this as a component for me to display in the status line instead? I understand that this was done to keep it closer to the context, but is there no way to customize this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, currently it is not customizable. |
Beta Was this translation helpful? Give feedback.
-
But I have implemented it. But you can now subscribe to vim.api.nvim_create_autocmd("User", {
pattern = "NeoCodeiumLabelUpdated",
-- Don't forget to add some `group`
callback = function(ev)
-- Use ev.data to update your statusline
-- As example print to cmdline
vim.print(ev.data)
end,
}) |
Beta Was this translation helpful? Give feedback.
But I have implemented it.
You can use last commit. Documentation should be updated.
But you can now subscribe to
NeoCodeiumLabelUpdated
autocmd to get label text.