From 28af996bf914c87f6c2231f64a9ddbe9af519e9f Mon Sep 17 00:00:00 2001 From: Vasily Korytov Date: Sun, 29 May 2016 04:40:04 +0300 Subject: [PATCH] allow `.pug` to be threated as jade (#3019) see https://github.com/pugjs/pug/issues/2184 for more details --- lib/linguist/languages.yml | 1 + samples/Jade/hello.pug | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 samples/Jade/hello.pug diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index f1d8111c..5e980011 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1705,6 +1705,7 @@ Jade: type: markup extensions: - .jade + - .pug tm_scope: text.jade ace_mode: jade diff --git a/samples/Jade/hello.pug b/samples/Jade/hello.pug new file mode 100644 index 00000000..dc599bcd --- /dev/null +++ b/samples/Jade/hello.pug @@ -0,0 +1,9 @@ +doctype html +html + head + meta(charset='utf-8') + link(rel='stylesheet', type='text/css', href='main.css') + title Hello Pug + body + #text + include page