auto-pairs: underscore _
#8898
Answered
by
the-mikedavis
Indyandie
asked this question in
Troubleshooting
-
SummaryIt seems that underscores ( Reproduction StepsI tried this:
[editor.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
'`' = '`'
'<' = '>'
'*' = '*'
"_" = "_"
'~' = '~' I expected an auto pair (
Instead, a single Helix log~/.cache/helix/helix.log
Platformmacos Terminal Emulatoralacritty Installation Methodbrew Helix Versionhelix 23.10 |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Nov 24, 2023
Replies: 1 comment 1 reply
-
I can't reproduce this unless I switch to a language that already has custom auto-pairs set, for example Rust: Lines 183 to 199 in 090ed97 For that case you should add new auto-pairs like |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Indyandie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't reproduce this unless I switch to a language that already has custom auto-pairs set, for example Rust:
helix/languages.toml
Lines 183 to 199 in 090ed97
For that case you should add new auto-pairs like
_
to that language config.