1

we edit freemarker template engine files with web-mode. The files also contain a lot of SQL. I added

    (defun my-web-mode-hook ()
    "Hooks for Web mode."
    (setq web-mode-enable-sql-detection t)
    )
    (add-hook 'web-mode-hook  'my-web-mode-hook)

to .emacs file, but don't geht syntax highlighting for the SQL.

Is it possible to highlight freemarker as well as SQL-Code?

Thanks for any suggestion

Meikel

  • Would you mind giving us some sample code so we can test the highlighting ourselves? – PythonNut Aug 14 '15 at 2:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.