Hi! I want to highlight indented text after `|`: ...
# intellij-plugins
a
Hi! I want to highlight indented text after `|`:
Copy code
doc: |
    some text
        goes
     here
inputs:
and I implemented highlighting lexer capable of doing this, when lexing all file. However it seems that highlighting is done for parts of the file separately, and context is lost. Is there some way to do this via highlighting lexer, or I should use something like highlighting based on annotation for this thing?