Skip to content

Conversation

@hrsh7th
Copy link
Contributor

@hrsh7th hrsh7th commented Mar 16, 2022

This PR aims to improve the hover popup feature.

  1. Support neovim
  2. Support directory coloring
  3. Support debounce

in neovim

Kapture.2022-03-16.at.16.13.40.mp4

in vim

Kapture.2022-03-16.at.16.18.30.mp4

@hrsh7th hrsh7th force-pushed the improve-hover-popup branch from db08b81 to 6011da3 Compare March 23, 2022 03:52
@lambdalisue
Copy link
Owner

@hrsh7th Please re-request review when the PR is ready to review.

@hrsh7th hrsh7th requested a review from lambdalisue March 26, 2022 12:13
Copy link
Owner

@lambdalisue lambdalisue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


function! s:debounced_show() abort
call s:hide()
let s:show_timer = timer_start(g:fern#drawer_hover_popup_delay, { -> s:show(fern#helper#new()) })
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE:

Initialization of the helper instance will be changed in the next commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants