Skip to content
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

Custom compression #189

Open
Shuraken007 opened this issue Oct 13, 2023 · 0 comments
Open

Custom compression #189

Shuraken007 opened this issue Oct 13, 2023 · 0 comments

Comments

@Shuraken007
Copy link

Shuraken007 commented Oct 13, 2023

Hello, can you support custom compression via some global variables?

As example smth like this

    " let hscale = string(2.0 * g:minimap_width / s:win_info['working_width'])
    let hscale = 1.0
    " let vscale = string(4.0 * winheight(s:win_info['mmwinid']) / line('$'))
    let vscale = 0.5

Also with this compression minimap is bugged. I have to change focus some time to get right selection zone size / scroll.

I created Feature request for code-minimap
wfxr/code-minimap#135

what do you think about sending custom glyphs for specified lines? Or probably some key words like class / function?

@Shuraken007 Shuraken007 changed the title Way of Usage, not enough info, too much compression. Custom compression. Oct 13, 2023
@ZNielsen ZNielsen changed the title Custom compression. Custom compression Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant