mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-29 13:21:01 +00:00
Fixing indentation
This commit is contained in:
@@ -322,9 +322,9 @@ 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\S])/m.match(data)
|
||||||
Language["Python"]
|
Language["Python"]
|
||||||
else
|
else
|
||||||
Language["Ren'Py"]
|
Language["Ren'Py"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user