mirror of https://github.com/helix-editor/helix
* impl auto pairs config Implements configuration for which pairs of tokens get auto completed. In order to help with this, the logic for when *not* to auto complete has been generalized from a specific hardcoded list of characters to simply testing if the next/prev char is alphanumeric. It is possible to configure a global list of pairs as well as at the language level. The language config will take precedence over the global config. * rename AutoPair -> Pair * clean up insert_char command * remove Rc * remove some explicit cloning with another impl * fix lint * review comments * global auto-pairs = false takes precedence over language settings * make clippy happy * print out editor config on startup * move auto pairs accessor into Document * rearrange auto pair doc comment * use pattern in Froms |
||
---|---|---|
.. | ||
increment | ||
auto_pairs.rs | ||
chars.rs | ||
comment.rs | ||
config.rs | ||
diagnostic.rs | ||
diff.rs | ||
graphemes.rs | ||
history.rs | ||
indent.rs | ||
lib.rs | ||
line_ending.rs | ||
macros.rs | ||
match_brackets.rs | ||
movement.rs | ||
object.rs | ||
path.rs | ||
position.rs | ||
register.rs | ||
search.rs | ||
selection.rs | ||
shellwords.rs | ||
state.rs | ||
surround.rs | ||
syntax.rs | ||
textobject.rs | ||
transaction.rs |