21 Feb 2021 - I woke up this morning with these thoughts about Parinfer and wanted to document them.
Smart Mode is a nice enhancement on top of Indent Mode, but many editor APIs do not support the "buffer change" information needed to make Smart Mode work correctly.
What if instead of passing in any buffer change to Smart Mode, we only run Smart Mode on the following keystrokes:
- space bar