mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Improved structure and improved lazy loading
This commit is contained in:
15
.config/nvim/lua/plugins/action-hints.lua
Normal file
15
.config/nvim/lua/plugins/action-hints.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
-- display available options for highlighted word
|
||||
"tiyn/action-hints.nvim",
|
||||
lazy = true, -- load as dependency
|
||||
config = function()
|
||||
require("action-hints").setup({
|
||||
template = {
|
||||
-- definition = { text = "D", color = "#add8e6" },
|
||||
-- references = { text = "R%s", color = "#ff6666" },
|
||||
definition = { text = Definition_sign, color = "#add8e6" },
|
||||
references = { text = Reference_sign, color = "#ff6666" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user