helix-mods/helix-term
Skyler Hawthorne 94535fa013
Add auto pairs for same-char pairs (#1219)
* Add auto pairs for same-char pairs

* Add unit tests for all existing functionality
* Add auto pairs for same-char pairs (quotes, etc). Account for
  apostrophe in prose by requiring both sides of the cursor to be
  non-pair chars or whitespace. This also incidentally will work for
  avoiding a double single quote in lifetime annotations, at least until
  <> is added
* Slight factor of moving the cursor transform of the selection to
  inside the hooks. This will enable doing auto pairing with selections,
  and fixing the bug where auto pairs destroy the selection.

Fixes #1014
2021-12-14 00:58:58 +09:00
..
src Add auto pairs for same-char pairs (#1219) 2021-12-14 00:58:58 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Add commit hash to version info, if present (#957) 2021-11-15 00:09:02 +09:00
Cargo.toml Add default-run = "hx" to helix-term/Cargo.toml (#1244) 2021-12-10 11:04:31 +09:00