diff options
author | Sathish Manohar <design.sathish@gmail.com> | 2022-10-15 20:35:28 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 17:05:28 +0200 |
commit | de6ddb686cd6caade7ff4304c6f7f4bd1f2416fd (patch) | |
tree | a36210adbef718ff55d22b00d925a428d1b9eebb /plugins/language_ruby.lua | |
parent | 2a769df8f0a11d25fdaa30606036f3d2ae586ad8 (diff) | |
download | lite-xl-plugins-de6ddb686cd6caade7ff4304c6f7f4bd1f2416fd.tar.gz lite-xl-plugins-de6ddb686cd6caade7ff4304c6f7f4bd1f2416fd.zip |
Map ruby syntax to Gemfile and Gemfile.lock (#132)
Diffstat (limited to 'plugins/language_ruby.lua')
-rw-r--r-- | plugins/language_ruby.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/language_ruby.lua b/plugins/language_ruby.lua index 30f2be1..c46d558 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" }, + files = { "%.rb$", "%.gemspec$", "^Gemfile$", "^Gemfile%.lock$" }, headers = "^#!.*[ /]ruby", comment = "#", patterns = { |