mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
forgot a |
This commit is contained in:
@@ -22,7 +22,7 @@ module Linguist
|
|||||||
#
|
#
|
||||||
# Returns a String or nil
|
# Returns a String or nil
|
||||||
def self.modeline(data)
|
def self.modeline(data)
|
||||||
match = data.match(EmacsModeline) | data.match(VimModeline)
|
match = data.match(EmacsModeline) || data.match(VimModeline)
|
||||||
match[1] if match
|
match[1] if match
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user