mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-09 19:05:31 +00:00
Merge branch 'master' into licensor-mk2
This commit is contained in:
@@ -330,7 +330,7 @@ module Linguist
|
|||||||
end
|
end
|
||||||
|
|
||||||
disambiguate ".rpy" do |data|
|
disambiguate ".rpy" do |data|
|
||||||
if /(^(import|from|class|def)[\s\S])/m.match(data)
|
if /(^(import|from|class|def)\s)/m.match(data)
|
||||||
Language["Python"]
|
Language["Python"]
|
||||||
else
|
else
|
||||||
Language["Ren'Py"]
|
Language["Ren'Py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user