|
From: | Wilhelm Kirschbaum |
Subject: | bug#62536: 30.0.50; Can we add """ ... """ electric pair in elixir, just like python |
Date: | Mon, 03 Apr 2023 10:26:59 +0200 |
User-agent: | mu4e 1.9.3; emacs 30.0.50 |
Mou Tong <mou.tong@outlook.com> writes:
There should never be a reason for the heredoc to be on a single line and also makes the tree-sitter grammar invalid, which causes theblinking issue.You are right, I didn't consider that.``` @doc """| """ ``` This will be the change ( looking at the electric.el code ).Cool, hoping to see the new feature soon (so sorry I don't know muchabout elisp and may not be able to help you much with it.)
These two patches should then be sufficient to better handle heredocs
for electric-pair-mode:
0001-Propertize-heredocs-in-elixir-ts-mode.patch
Description: Propertize heredocs
0002-Handle-electric-heredocs-pairs-in-elixir-ts-mode.patch
Description: Handle electric pairs for heredocs in elixir-ts-mode
[Prev in Thread] | Current Thread | [Next in Thread] |