-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] I want a method that is called when redrawing #40
Comments
If you really need the feature, the length should be cached in your column.
|
In ddu-column-gitstatus, git information is held in the Column class, but is it different from that? |
I have implemented the feature. |
Thank you! |
The "getLength" method is called every time a directory is opened, and the "getText" method is called every time an item is drawn, but I would like a method to be run on first display and on "redraw".
The reason is that I created a plugin that displays the Git status in a "column", but since the "git status" command is executed within the "getLength" method, the process becomes redundant.
Environment Information
ddu-ui-filer version (SHA1): 94ad1d2
denops.vim version (SHA1): bcc88ca61f1edcbe364dbfb4967204193efc6e9a
deno version(
deno -V
output): deno 1.42.4OS: Linux
neovim/Vim
:version
output: NVIM v0.10.0-dev-3023+g499070148ddu-column-gitstatus
https://github.com/nabezokodaikon/ddu-column-gitstatus/blob/main/denops/%40ddu-columns/gitstatus.ts
The text was updated successfully, but these errors were encountered: