You are viewing a single thread.
View all comments View context
1 point

There’s a couple of ways I can see it:

  • highlights unclosed pairs
  • closing pairs shown as faded / gray text, kind of like some auto complete systems like copilot in vscode.
  • it could be some key bind you press, and it closes the next unclosed pair

The following is less preferred but still works: maybe the status line or a pop up shows the order of unclosed pairs.

permalink
report
parent
reply
1 point

I think all of those suggestions are feasible. However, what should the plugin do in situations when a delimiter is deliberately left unclosed, such as character literals? I wouldn’t want it to permanently suggest the corresponding closing delimiter.

permalink
report
parent
reply

Community stats

  • 69

    Monthly active users

  • 145

    Posts

  • 465

    Comments