mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Associate .x extension to Linker Script language (#4040)
This commit is contained in:
@@ -518,6 +518,8 @@ module Linguist
|
||||
Language["RPC"]
|
||||
elsif /^%(end|ctor|hook|group)\b/.match(data)
|
||||
Language["Logos"]
|
||||
elsif /OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS/.match(data)
|
||||
Language["Linker Script"]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -2365,6 +2365,7 @@ Linker Script:
|
||||
extensions:
|
||||
- ".ld"
|
||||
- ".lds"
|
||||
- ".x"
|
||||
filenames:
|
||||
- ld.script
|
||||
tm_scope: none
|
||||
|
||||
Reference in New Issue
Block a user