A Neovim plugin to show information about the word under the cursor.
Available hints:
gd
gr
{ "roobert/action-hints.nvim", config = function() require("action-hints").setup() end, },
use({ "roobert/action-hints.nvim", config = function() require("action-hints").setup() end, })
{ "roobert/action-hints.nvim", config = function() require("action-hints").setup({ template = { { " ⊛", "ActionHintsDefinition" }, { " ↱%s", "ActionHintsReferences" }, }, use_virtual_text = true, }) end, },
Adjust highlight colours for virtual text:
highlight ActionHintsDefinition guifg=#add8e6 highlight ActionHintsReferences guifg=#ff6666
Note that for now the component must be included in the lualine for the virtual text to be updated.
As a lualine component:
require('lualine').setup { sections = { lualine_x = { require("action-hints").statusline }, } }