mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge branch 'master' into mod-extension
This commit is contained in:
@@ -155,12 +155,12 @@ module Linguist
|
||||
end
|
||||
|
||||
disambiguate "AsciiDoc", "AGS Script", "Public Key" do |data|
|
||||
if /^[=-]+(\s|\n)|{{[A-Za-z]/.match(data)
|
||||
if /^(----[- ]BEGIN|ssh-(rsa|dss)) /.match(data)
|
||||
Language["Public Key"]
|
||||
elsif /^[=-]+(\s|\n)|{{[A-Za-z]/.match(data)
|
||||
Language["AsciiDoc"]
|
||||
elsif /^(\/\/.+|((import|export)\s+)?(function|int|float|char)\s+((room|repeatedly|on|game)_)?([A-Za-z]+[A-Za-z_0-9]+)\s*[;\(])/.match(data)
|
||||
Language["AGS Script"]
|
||||
elsif /^-----BEGIN/.match(data)
|
||||
Language["Public Key"]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -1704,6 +1704,16 @@ Limbo:
|
||||
tm_scope: none
|
||||
ace_mode: text
|
||||
|
||||
Linker Script:
|
||||
type: data
|
||||
extensions:
|
||||
- .ld
|
||||
- .lds
|
||||
filenames:
|
||||
- ld.script
|
||||
tm_scope: none
|
||||
ace_mode: text
|
||||
|
||||
Linux Kernel Module:
|
||||
type: data
|
||||
extensions:
|
||||
@@ -2921,8 +2931,8 @@ Sage:
|
||||
ace_mode: python
|
||||
|
||||
SaltStack:
|
||||
type: data
|
||||
group: YAML
|
||||
type: programming
|
||||
color: "#646464"
|
||||
aliases:
|
||||
- saltstate
|
||||
- salt
|
||||
|
||||
Reference in New Issue
Block a user