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

Is able to temporarily disable context change? #472

Open
mcpeng opened this issue Aug 17, 2022 · 4 comments
Open

Is able to temporarily disable context change? #472

mcpeng opened this issue Aug 17, 2022 · 4 comments

Comments

@mcpeng
Copy link

mcpeng commented Aug 17, 2022

Is it possible to temporarily disable context guide change while screen scrolling or cursor moving? I thinks that's useful for large context( higher than one screen ).

like VSCode does:
vsc

"Vim requires the cursor to be in the current screen at all times" 🤔
https://stackoverflow.com/a/3458731

@lukas-reineke
Copy link
Owner

I'm not sure I understand the question.
You want to lock the context so it doesn't change even when you move outside?

@mcpeng
Copy link
Author

mcpeng commented Aug 18, 2022

I'm not sure I understand the question. You want to lock the context so it doesn't change even when you move outside?

Yes, when the context higher than the screen; with locking the context guide line, I can easily check where the context starts or ends, or check whether some code lines are under the context.

Now, I use colorcolumn / multi colored guide lines for that situation, but it's not perfect.

@lukas-reineke
Copy link
Owner

I see. This is currently not supported. I'll think about adding it in the future.

@mcpeng
Copy link
Author

mcpeng commented Aug 18, 2022

😸 Thanks for your great job of indent-blankline.nvim

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

No branches or pull requests

2 participants