How can I change the tab size for all Dart files? #3195
Answered
by
the-mikedavis
eboatwright
asked this question in
Q&A
-
I know the "standard" is 2 spaces, but I hate that look and I've always used 4 spaces for everything. I've tried editing the languages.toml file, but that hasn't seemed to work. Any help appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Jul 26, 2022
Replies: 1 comment 2 replies
-
You'll want to create a custom # ~/.config/helix/languages.toml
[[language]]
name = "dart"
indent = { tab-width = 4, unit = " " } |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
eboatwright
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll want to create a custom
languages.toml
that overrides the indentation settings for dart: