gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

[Feature Request] Make entire file highlights in one screen height #60

Closed luisfrocha closed 1 year ago

luisfrocha commented 1 year ago

Currently the minimap shows a fraction of the file. On VSCode, the entire file map is shown on the minimap. It would be great to have it show the entire file instead of having to scroll to see the rest of the highlights.

Screenshot 2023-06-05 at 9 36 27 AM
gorbit99 commented 1 year ago

The image you've put in is I believe of the scrollbar, which gets resized as the file grows. The minimap itself, given a file that's long enough will scroll in the same manner as in the plugin, but because the vertical resolution is much greater, it happens way less frequently in vscode.

The scrollbar however is outside the scope of this plugin, especially as there are well developed alternatives already, such as https://github.com/petertriho/nvim-scrollbar