aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_ruby.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_ruby.lua')
-rw-r--r--plugins/language_ruby.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_ruby.lua b/plugins/language_ruby.lua
index c46d558..75da3e0 100644
--- a/plugins/language_ruby.lua
+++ b/plugins/language_ruby.lua
@@ -3,7 +3,7 @@ local syntax = require "core.syntax"
syntax.add {
name = "Ruby",
- files = { "%.rb$", "%.gemspec$", "^Gemfile$", "^Gemfile%.lock$" },
+ files = { "%.rb$", "%.gemspec$", PATHSEP .. "Gemfile$", PATHSEP .. "Gemfile%.lock$" },
headers = "^#!.*[ /]ruby",
comment = "#",
patterns = {