aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
authorSkyler Hawthorne2021-12-13 15:58:58 +0000
committerGitHub2021-12-13 15:58:58 +0000
commit94535fa013469abf6e5ab2fa52f3deced9d46de0 (patch)
treed72a251abe1dfae3ff50136b5b8413c835a2b629 /helix-core/src/syntax.rs
parent730d3be2010adbd2c43b7cdf1a256a15ef97e3f2 (diff)
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
Diffstat (limited to 'helix-core/src/syntax.rs')
0 files changed, 0 insertions, 0 deletions