Add .ms to GAS.

This commit is contained in:
Lars Brinkhoff
2015-05-25 10:17:58 +02:00
parent 0a0d2ddb1a
commit 28103ee25b
2 changed files with 10 additions and 1 deletions

View File

@@ -295,7 +295,7 @@ module Linguist
Language["Common Lisp"]
elsif /^(%[%{}]xs|<.*>)/.match(data)
Language["Lex"]
elsif /^\.[a-z][a-z](\s|$)/.match(data)
elsif /^\.[a-z][a-z](\s|$)/i.match(data)
Language["Groff"]
end
end
@@ -307,5 +307,13 @@ module Linguist
Language["Nemerle"]
end
end
disambiguate "GAS", "Groff" do |data|
if /^[.'][a-z][a-z](\s|$)/i.match(data)
Language["Groff"]
elsif /((^|\s)move?[. ])|\.(include|globa?l)\s/.match(data)
Language["GAS"]
end
end
end
end

View File

@@ -1041,6 +1041,7 @@ GAS:
group: Assembly
extensions:
- .s
- .ms
tm_scope: source.asm.x86
ace_mode: assembly_x86