From b38130f88f868137b7ce8f1398a0cb48d6a1612f Mon Sep 17 00:00:00 2001 From: Simounet Date: Mon, 3 Mar 2014 12:19:26 +0100 Subject: [PATCH] RainTPL comments support --- README.md | 3 ++- lib/watson/parser.rb | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60143c5..9ac56a7 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,8 @@ submit a pull request (comment parsing happens in **lib/watson/paser.rb**) - **SQL / PL** - **Lua** - **HTML** +- **Twig** +- **RainTPL** - **SASS SCSS** - **Haskell** - **Bash / Zsh** @@ -67,7 +69,6 @@ submit a pull request (comment parsing happens in **lib/watson/paser.rb**) - **Clojure** - **VimL** - **Markdown** -- **HTML** - **Emacslisp** - **LaTex** - **Handlebars** diff --git a/lib/watson/parser.rb b/lib/watson/parser.rb index c3ca5d3..e476a0a 100755 --- a/lib/watson/parser.rb +++ b/lib/watson/parser.rb @@ -51,7 +51,7 @@ class Parser '.lua' => ['--', '--[['], # Lua '.vim' => ['"'], # VimL '.md' => ['