Skip to content
Discussion options

You must be logged in to vote

To be precise, you simply need to match tabstop (ts) and shiftwidth (sw) with the actual indentation used by your formatter.

In your case, you had ts=4 and sw=4, but the actual indentation used was 5 spaces. This means that Snacks displayed an indent every 4 spaces, and when the cursor was on the current scope (5 spaces), it also highlighted that position, resulting in a double border.

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@Ma94xx
Comment options

@Ma94xx
Comment options

@drowning-cat
Comment options

@drowning-cat
Comment options

Answer selected by Ma94xx
@Ma94xx
Comment options

@Ma94xx
Comment options

@drowning-cat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants