|
From: | Stefan Monnier |
Subject: | Re: Help Understanding syntax-propertize-function |
Date: | Tue, 16 Mar 2021 13:29:03 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> It's been placed on the opening char >> at position (nth 8 ppss) by the same code that placed the `|` syntax >> property on that same character. > > I'm a bit confused as to what places the `|` syntax property. I see > `(put-text-property eol (1+ eol) 'hcl-here-doc-marker str)` in > `hcl--font-lock-open-heredoc`. But my understanding is that syntactic > phase happens before the fontification. `hcl--font-lock-open-heredoc` is called by `hcl--syntax-propertize-function`. The `font-lock` in the name is just a relic, I expect. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |