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

zindex should apply to marks as well #71

Open
simonmandlik opened this issue Aug 5, 2024 · 2 comments
Open

zindex should apply to marks as well #71

simonmandlik opened this issue Aug 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@simonmandlik
Copy link

Currently, zindex applies only to the scrollbar "body", not to the marks displayed on it:

image

This means that any potential text is hidden. This is especially bad when using textwidth larger than window width and many marks are displayed, e.g. from gitsigns. This is a screenshot from a latex file:

image

This is with satellite disabled:

image

So many letters are hidden.

MWE:

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/flash.nvim", opts = {} },
    -- add any other plugins here
    { "lewis6991/satellite.nvim", opts = { zindex = 999 }}
  },
})
@simonmandlik simonmandlik added the enhancement New feature or request label Aug 5, 2024
@lewis6991
Copy link
Owner

MWE

This is not.

@simonmandlik
Copy link
Author

Sorry, I don't understand.

If I put the lua code into init.lua, run nvim -u init.lua, I can see the issue after inserting two paragraphs of e.g. Lorem Ipsum text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants