neogeographica / chaintool

WIP
GNU General Public License v3.0
0 stars 0 forks source link

maybe bail out of placeholder completion early if CUR is "=" #9

Closed neogeographica closed 3 years ago

neogeographica commented 3 years ago

If the cursor is currently right after text like foo= when you press TAB, then I think the last word used for autocompletion will be sent in as =. In that case we could bail early out of placeholder completion rather than bothering to dump placeholders.

Actually we could bail out of placeholder completion early in any case where CUR ends with =. Or if it doesn't start with + or a letter.