I'm not very familiar with freemarker so I might be doing something wrong. I need to modify one of the freemarker templates included with Struts2. The first thing I noticed was freemarker templates with .ftl extension were not associated with Velocity templates so I added it. Unfortunately, when it try to edit the file in the editor, Intellij flags almost the whole file as an error. Is there anything I can do to improve the situation beyond disabling all inspections? I attached a screenshot.