allow .pug to be threated as jade (#3019)

see https://github.com/pugjs/pug/issues/2184 for more details
This commit is contained in:
Vasily Korytov
2016-05-29 04:40:04 +03:00
committed by Arfon Smith
parent 8b0b14c9a6
commit 28af996bf9
2 changed files with 10 additions and 0 deletions

View File

@@ -1705,6 +1705,7 @@ Jade:
type: markup
extensions:
- .jade
- .pug
tm_scope: text.jade
ace_mode: jade

9
samples/Jade/hello.pug Normal file
View File

@@ -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