alohaas / language-nunjucks

Syntax highlighting for nunjucks templates in atom.
MIT License
42 stars 13 forks source link

if the file has a - in filename nunjucks language is not being detected #8

Closed jinmatt closed 7 years ago

alohaas commented 8 years ago

Hey @jinmatt thanks for opening the issue. Are you referring to an instance like this:

{% extends "header-base.html" %}

jinmatt commented 8 years ago

@alohaas yes

alohaas commented 8 years ago

@jinmatt apologies for the delay. Working on some updates today.

matheusdarosa commented 8 years ago

Hey @alohaas, is this bug still on your roadmap? :)

revelt commented 7 years ago

Can somebody confirm, is this issue still happening?

Currently I'm using Atom and this plugin (v4.1.0) and my files do have hyphens in their names, for example, macro-footers-content.nunjucks — I don't see any issues with Nunjucks being recognised:

nujucks

alohaas commented 7 years ago

@matheusdarosa @jinmatt this has been fixed. I neglected to close this issue after updating to v 4.1.0 You should be seeing something similar to ... screen shot 2017-04-14 at 3 12 28 pm

Please reopen this issue if it persists, but I'm closing it now.