From c3642ba7edbf46b466ae1caa296d037271cb681b Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Mon, 12 May 2014 20:51:20 -0400 Subject: [PATCH 1/8] Groovy: Add .gvy, .grt, and .gtpl to the list of extensions --- lib/linguist/languages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 7350bb2a..e039ea58 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -819,6 +819,9 @@ Groovy: color: "#e69f56" extensions: - .groovy + - .gtpl + - .grt + - .gvy interpreters: - groovy From 5c36f8df855b3bbfa9fac54b18f2021bdea4dc68 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Tue, 13 May 2014 15:37:20 -0400 Subject: [PATCH 2/8] Groovy: Sorted Extensions --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index e039ea58..f4eb4d22 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -818,9 +818,9 @@ Groovy: ace_mode: groovy color: "#e69f56" extensions: + - .grt - .groovy - .gtpl - - .grt - .gvy interpreters: - groovy From a22c2d678bd3e2848da2d905b56e9e0436ae7b60 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Tue, 13 May 2014 16:32:21 -0400 Subject: [PATCH 3/8] Created a Sample for .gtpl --- samples/Groovy/template.gtpl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 samples/Groovy/template.gtpl diff --git a/samples/Groovy/template.gtpl b/samples/Groovy/template.gtpl new file mode 100644 index 00000000..f2e594d1 --- /dev/null +++ b/samples/Groovy/template.gtpl @@ -0,0 +1,9 @@ +html { + head { + title "Example Template" + } + + body { + p "This is a quick template example" + } +} From 13c9259d2302300f18965cdc25a656f3f9488158 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Tue, 13 May 2014 16:33:43 -0400 Subject: [PATCH 4/8] Created Sample for .grt --- samples/Groovy/template.grt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 samples/Groovy/template.grt diff --git a/samples/Groovy/template.grt b/samples/Groovy/template.grt new file mode 100644 index 00000000..59bb9c22 --- /dev/null +++ b/samples/Groovy/template.grt @@ -0,0 +1,9 @@ +html { + head { + component "bootstrap" + title "Bootstrap Template" + } + + html { + } +} From 51dde1f6a468017f5c1dbdd5b7f3af9f4c8c3bac Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Tue, 13 May 2014 16:34:20 -0400 Subject: [PATCH 5/8] Created Sample for .gvy --- samples/Groovy/script.gvy | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 samples/Groovy/script.gvy diff --git a/samples/Groovy/script.gvy b/samples/Groovy/script.gvy new file mode 100644 index 00000000..25ef2eab --- /dev/null +++ b/samples/Groovy/script.gvy @@ -0,0 +1,2 @@ +#!/usr/bin/env groovy +println "Hello World" From 6d26bf5c826a2bff0e37c08fb8657aae4167d467 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Fri, 16 May 2014 10:20:57 -0400 Subject: [PATCH 6/8] Groovy: .groovy is now first in the array --- lib/linguist/languages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index f4eb4d22..94d1a9c9 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -818,8 +818,8 @@ Groovy: ace_mode: groovy color: "#e69f56" extensions: - - .grt - .groovy + - .grt - .gtpl - .gvy interpreters: From 6c666075b508ffee0e3c61d050f26feeaad253d9 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Fri, 16 May 2014 10:32:41 -0400 Subject: [PATCH 7/8] Groovy: Add '.tpl' to the list of extensions. --- lib/linguist/languages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 94d1a9c9..521e8f05 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -822,6 +822,7 @@ Groovy: - .grt - .gtpl - .gvy + - .tpl interpreters: - groovy From 9b6a7622d2aeb55fcada7f502ff338c32f74b4fd Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Fri, 16 May 2014 10:37:49 -0400 Subject: [PATCH 8/8] Groovy: Remove .tpl from list --- lib/linguist/languages.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 521e8f05..94d1a9c9 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -822,7 +822,6 @@ Groovy: - .grt - .gtpl - .gvy - - .tpl interpreters: - groovy