Skip to content

Syntax highlighting in SQL quasi-quoter is broken #1289

Closed
@bgamari

Description

@bgamari

Consider this program,

sql = [sql| SELECT f1, f2 FROM aTable |]
xml = [xml| <html><body id="hi">hello</body></html> |]

I have ("sql" . sql-mode)) in haskell-font-lock-quasi-quote-modes yet the body of the quoter gets no syntax highlighting whatsoever. If I past the body into a new buffer and enter sql-mode manually it is highlighted as one would expect, so presumably it works as expected. The xml quote is also highlighted as one would expect, so quasi-quoting highlighting isn't generally broken. It seems to be particular to SQL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions