Skip to content

How do we get tabs rights when using fmat? #952

Answered by L3MON4D3
medwatt asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, the problem should be that, unlike vscode, the indent before the <> is not applied to all nodes inside the fmta placed at <>. You can take a look at indentSnippetNode, it will take care of applying indent to all lines.
(ie. replace sn(j, ...) with isn(j, ..., "$PARENT_INDENT\t"))

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@atticus-sullivan
Comment options

@L3MON4D3
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by medwatt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants