mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-07 20:08:48 +00:00
Add the Mercury language to linguist
lib/linguist/languages.yml:
Add the declaration for the language.
samples/Mercury:
Add samples for the classifier as Mercury shares it's filename extension
with several other languages.
This commit is contained in:
@@ -846,6 +846,14 @@ Max:
|
||||
- .maxhelp
|
||||
- .maxpat
|
||||
|
||||
Mercury:
|
||||
type: programming
|
||||
# This is the background colour on the web page.
|
||||
color: "#abcdef"
|
||||
primary_extension: .m
|
||||
# Mercury's syntax is not prolog syntax, but they do share the lexer
|
||||
lexer: Prolog
|
||||
|
||||
MiniD: # Legacy
|
||||
searchable: false
|
||||
primary_extension: .minid # Dummy extension
|
||||
|
||||
Reference in New Issue
Block a user