Skip to content
This repository has been archived by the owner on Jul 21, 2018. It is now read-only.

Commit

Permalink
Merge pull request #19 from ahmedelgabri/extend-html-add-js-shebang
Browse files Browse the repository at this point in the history
add .html, .twig & .jinja to HTML & js shebang for node
  • Loading branch information
andre-simon authored Jul 26, 2017
2 parents 0e4bcdc + 4ddc6cc commit 5f241f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions filetypes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ FileMapping = {
{ Lang="tex", Extensions={"sty", "cls"} },
{ Lang="vb", Extensions={"bas", "basic", "bi", "vbs"} },
{ Lang="verilog", Extensions={"v"} },
{ Lang="html", Extensions={"htm", "xhtml"} },
{ Lang="html", Extensions={"htm", "xhtml", "html", "twig", "jinja"} },
{ Lang="xml", Extensions={"sgm", "sgml", "nrm", "ent","hdr", "hub", "dtd", "glade",
"wml","vxml", "wml", "tld", "csproj","xsl", "ecf", "jnlp", "xsd", "resx"} },
{ Lang="fsharp", Extensions={"fs","fsx"} },
Expand Down Expand Up @@ -134,6 +134,7 @@ FileMapping = {
{ Lang="perl", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?perl]] },
{ Lang="python", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?python]] },
{ Lang="ruby", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?ruby]] },
{ Lang="php", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?php]] }
{ Lang="php", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?php]] },
{ Lang="js", Shebang=[[^#!\s*(/usr)?(/local)?/bin/(env\s+)?node]] }
}

0 comments on commit 5f241f6

Please sign in to comment.