forgot a |

This commit is contained in:
michael tesch
2015-03-15 12:51:14 +01:00
parent 5fd7992f98
commit ce1f51a34f

View File

@@ -22,7 +22,7 @@ module Linguist
#
# Returns a String or nil
def self.modeline(data)
match = data.match(EmacsModeline) | data.match(VimModeline)
match = data.match(EmacsModeline) || data.match(VimModeline)
match[1] if match
end
end