mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-01 06:56:16 +00:00
Merge pull request #1188 from kaendfinger/master
Groovy: Add .gvy, .grt, and .gtpl to the list of extensions
This commit is contained in:
@@ -820,6 +820,9 @@ Groovy:
|
|||||||
color: "#e69f56"
|
color: "#e69f56"
|
||||||
extensions:
|
extensions:
|
||||||
- .groovy
|
- .groovy
|
||||||
|
- .grt
|
||||||
|
- .gtpl
|
||||||
|
- .gvy
|
||||||
interpreters:
|
interpreters:
|
||||||
- groovy
|
- groovy
|
||||||
|
|
||||||
|
|||||||
2
samples/Groovy/script.gvy
Normal file
2
samples/Groovy/script.gvy
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env groovy
|
||||||
|
println "Hello World"
|
||||||
9
samples/Groovy/template.grt
Normal file
9
samples/Groovy/template.grt
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
html {
|
||||||
|
head {
|
||||||
|
component "bootstrap"
|
||||||
|
title "Bootstrap Template"
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
}
|
||||||
|
}
|
||||||
9
samples/Groovy/template.gtpl
Normal file
9
samples/Groovy/template.gtpl
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
html {
|
||||||
|
head {
|
||||||
|
title "Example Template"
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
p "This is a quick template example"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user