nvim: update hover configuration
This commit is contained in:
parent
5ff9b2c146
commit
7ff06a02d7
3 changed files with 8 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
||||||
(set o.termguicolors true)
|
(set o.termguicolors true)
|
||||||
(set o.mouse :a)
|
(set o.mouse :a)
|
||||||
(set o.mousemodel :popup_setpos)
|
(set o.mousemodel :popup_setpos)
|
||||||
|
(set o.mousemoveevent true)
|
||||||
(set o.cmdheight 1)
|
(set o.cmdheight 1)
|
||||||
;(set o.showcmdloc :statusline)
|
;(set o.showcmdloc :statusline)
|
||||||
;; Backups
|
;; Backups
|
||||||
|
|
|
@ -93,6 +93,11 @@
|
||||||
;; hover.nvim
|
;; hover.nvim
|
||||||
(keymap.set :n :K hover.hover {:desc "Show Documentation"})
|
(keymap.set :n :K hover.hover {:desc "Show Documentation"})
|
||||||
(keymap.set :n :gK hover.hover_select {:desc "hover.nvim selection"})
|
(keymap.set :n :gK hover.hover_select {:desc "hover.nvim selection"})
|
||||||
|
(keymap.set :n :<C-p> #(hover.hover_switch :previous)
|
||||||
|
{:desc "hover.nvim previous source"})
|
||||||
|
(keymap.set :n :<C-n> #(hover.hover_switch :next)
|
||||||
|
{:desc "hover.nvim next source"})
|
||||||
|
(keymap.set :n :<MouseMove> hover.hover_mouse {:desc "hover.nvim mouse"})
|
||||||
;; Label
|
;; Label
|
||||||
(wk.add [{1 :<leader>v :group :vcs}
|
(wk.add [{1 :<leader>v :group :vcs}
|
||||||
{1 :<leader>l :group :list/lsp}
|
{1 :<leader>l :group :list/lsp}
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
:preview_opts {:border :single}
|
:preview_opts {:border :single}
|
||||||
:preview_window false
|
:preview_window false
|
||||||
:title true
|
:title true
|
||||||
:mouse_providers []}))
|
:mouse_providers [:LSP]
|
||||||
|
:mouse_delay 1000}))
|
||||||
|
|
Loading…
Reference in a new issue