mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add detection for opa (http://www.opalang.org/).
This commit is contained in:
@@ -342,7 +342,7 @@ Fancy:
|
||||
|
||||
Fantom:
|
||||
type: programming
|
||||
lexer: Java
|
||||
lexer: Java
|
||||
extensions:
|
||||
- .fan
|
||||
|
||||
@@ -691,6 +691,11 @@ Objective-J:
|
||||
- .j
|
||||
- .sj
|
||||
|
||||
Opa:
|
||||
type: programming
|
||||
extensions:
|
||||
- .opa
|
||||
|
||||
OpenCL:
|
||||
type: programming
|
||||
group: C
|
||||
|
||||
5
test/fixtures/hello_syntax1.opa
vendored
Normal file
5
test/fixtures/hello_syntax1.opa
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
server = Server.one_page_bundle("Hello World",
|
||||
[],
|
||||
[],
|
||||
_ -> <h1>Hello, world</h1>)
|
||||
|
||||
7
test/fixtures/hello_syntax2.opa
vendored
Normal file
7
test/fixtures/hello_syntax2.opa
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Server.start(
|
||||
Server.http,
|
||||
{
|
||||
page: function() { <h1>Hello, world</h1> },
|
||||
title: "Hello, world"
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user