diff options
author | Sathish Manohar <design.sathish@gmail.com> | 2022-10-15 20:35:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 17:05:07 +0200 |
commit | 380f6ef5fe9f8af19cd1f6b4c043eede51cbfcae (patch) | |
tree | 440ac3871b102d6b461afd49982f4829cacdbb2c /plugins | |
parent | d4b4452e7cd8c75a98c655c8d6c7f18ae2c404fa (diff) | |
download | lite-xl-plugins-2.0.tar.gz lite-xl-plugins-2.0.zip |
Map ruby syntax to Gemfile and Gemfile.lock (#133)2.0
* Map ruby syntax to Gemfile and Gemfile.lock
* make syntax match to target end of file name
Diffstat (limited to 'plugins')
-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 3651fb5..85717fe 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 = { |