Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add jade and stylus to file types #450

Merged
merged 2 commits into from

2 participants

@caseyWebb

No description provided.

@ggreer ggreer merged commit 273f6a9 into ggreer:master
@ggreer
Owner

It looks like you didn't run the test case. You forgot to increase LANG_COUNT in lang.h.

@caseyWebb caseyWebb deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 17, 2014
  1. @caseyWebb

    Add jade to file types

    caseyWebb authored
  2. @caseyWebb

    Add stylus to file types

    caseyWebb authored
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 0 deletions.
  1. +2 −0  src/lang.c
  2. +6 −0 tests/list_file_types.t
View
2  src/lang.c
@@ -28,6 +28,7 @@ lang_spec_t langs[] = {
{ "haml", { "haml" } },
{ "html", { "htm", "html", "shtml", "xhtml" } },
{ "ini", { "ini" } },
+ { "jade", { "jade" } },
{ "java", { "java", "properties" } },
{ "js", { "js" } },
{ "jsp", { "jsp", "jspx", "jhtm", "jhtml" } },
@@ -58,6 +59,7 @@ lang_spec_t langs[] = {
{ "shell", { "sh", "bash", "csh", "tcsh", "ksh", "zsh" } },
{ "smalltalk", { "st" } },
{ "sql", { "sql", "ctl" } },
+ { "stylus", { "styl" } },
{ "tcl", { "tcl", "itcl", "itk" } },
{ "tex", { "tex", "cls", "sty" } },
{ "tt", { "tt", "tt2", "ttml" } },
View
6 tests/list_file_types.t
@@ -74,6 +74,9 @@ Language types are output:
--ini
.ini
+
+ --jade
+ .jade
--java
.java .properties
@@ -164,6 +167,9 @@ Language types are output:
--sql
.sql .ctl
+
+ --stylus
+ .styl
--tcl
.tcl .itcl .itk
Something went wrong with that request. Please try again.