mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Add more samples with listed extensions. Remove extension specification. Clarify comments at top of languages.yml.
This commit is contained in:
@@ -2,19 +2,21 @@
|
|||||||
#
|
#
|
||||||
# All languages have an associated lexer for syntax highlighting. It
|
# All languages have an associated lexer for syntax highlighting. It
|
||||||
# defaults to name.downcase, which covers most cases. Make sure the
|
# defaults to name.downcase, which covers most cases. Make sure the
|
||||||
# lexer exists in lexers.yml. This is a list of available in our
|
# lexer exists in lexers.yml. This is a list of available lexers in
|
||||||
# version of pygments.
|
# our version of pygments.
|
||||||
#
|
#
|
||||||
# type - Either data, programming, markup, or nil
|
# type - Either data, programming, markup, or nil
|
||||||
# lexer - An explicit lexer String (defaults to name.downcase)
|
# lexer - An explicit lexer String (defaults to name.downcase)
|
||||||
# aliases - An Array of additional aliases (implicitly
|
# aliases - An Array of additional aliases (implicitly
|
||||||
# includes name.downcase)
|
# includes name.downcase)
|
||||||
# ace_mode - A String name of Ace Mode (if available)
|
# ace_mode - A String name of Ace Mode (if available)
|
||||||
# extension - An Array of associated extensions
|
# extension - An Array of associated extensions. If file samples
|
||||||
|
# are included in 'samples/<Language Name>/', then
|
||||||
|
# its extension does not need to be listed.
|
||||||
# primary_extension - A String for the main extension associated with
|
# primary_extension - A String for the main extension associated with
|
||||||
# the language. Must be unique. Used when a Language is picked
|
# the language. Must be unique. Used when a Language
|
||||||
# from a dropdown and we need to automatically choose an
|
# is picked from a dropdown and we need to
|
||||||
# extension.
|
# automatically choose an extension.
|
||||||
# searchable - Boolean flag to enable searching (defaults to true)
|
# searchable - Boolean flag to enable searching (defaults to true)
|
||||||
# search_term - Deprecated: Some languages maybe indexed under a
|
# search_term - Deprecated: Some languages maybe indexed under a
|
||||||
# different alias. Avoid defining new exceptions.
|
# different alias. Avoid defining new exceptions.
|
||||||
@@ -689,11 +691,6 @@ Lasso:
|
|||||||
ace_mode: lasso
|
ace_mode: lasso
|
||||||
color: "#2584c3"
|
color: "#2584c3"
|
||||||
primary_extension: .lasso
|
primary_extension: .lasso
|
||||||
extensions:
|
|
||||||
- .inc
|
|
||||||
- .las
|
|
||||||
- .lasso9
|
|
||||||
- .ldml
|
|
||||||
|
|
||||||
LilyPond:
|
LilyPond:
|
||||||
lexer: Text only
|
lexer: Text only
|
||||||
|
|||||||
Reference in New Issue
Block a user