aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSathish Manohar <design.sathish@gmail.com>2022-10-15 20:35:28 +0530
committerGitHub <noreply@github.com>2022-10-15 17:05:28 +0200
commitde6ddb686cd6caade7ff4304c6f7f4bd1f2416fd (patch)
treea36210adbef718ff55d22b00d925a428d1b9eebb /plugins
parent2a769df8f0a11d25fdaa30606036f3d2ae586ad8 (diff)
downloadlite-xl-plugins-de6ddb686cd6caade7ff4304c6f7f4bd1f2416fd.tar.gz
lite-xl-plugins-de6ddb686cd6caade7ff4304c6f7f4bd1f2416fd.zip
Map ruby syntax to Gemfile and Gemfile.lock (#132)
Diffstat (limited to 'plugins')
-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 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 = {