summaryrefslogtreecommitdiffstats
path: root/lua/core/overrides/hover.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-02-15 23:11:33 -0500
committerSquibid <me@zacharyscheiman.com>2023-02-15 23:11:33 -0500
commit70abc1f30f772757088b13d97256423385156080 (patch)
tree15d71d3973c41d8566304e5943a966e2d1e10d91 /lua/core/overrides/hover.lua
parent74c846a7b6461c2be572c3778d67d5df682a34e9 (diff)
downloadnvim-70abc1f30f772757088b13d97256423385156080.tar.gz
nvim-70abc1f30f772757088b13d97256423385156080.tar.bz2
nvim-70abc1f30f772757088b13d97256423385156080.zip
Major changes including better ui and more keybinds :)
Diffstat (limited to '')
-rw-r--r--lua/core/overrides/hover.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/core/overrides/hover.lua b/lua/core/overrides/hover.lua
new file mode 100644
index 0000000..9e8a684
--- /dev/null
+++ b/lua/core/overrides/hover.lua
@@ -0,0 +1,18 @@
+require("hover").setup {
+ init = function()
+ -- Require providers
+ require("hover.providers.lsp")
+ -- require('hover.providers.gh')
+ -- require('hover.providers.gh_user')
+ -- require('hover.providers.jira')
+ require('hover.providers.man')
+ require('hover.providers.dictionary')
+ end,
+ preview_opts = {
+ border = 'single'
+ },
+ -- Whether the contents of a currently open hover window should be moved
+ -- to a :h preview-window when pressing the hover keymap.
+ preview_window = true,
+ title = true
+}