From 9f4407ca29ac4dd6401fbc0688fb8c244158ae3d Mon Sep 17 00:00:00 2001 From: "Jacob H. Pratt" Date: Fri, 28 Apr 2017 21:20:38 -0400 Subject: [PATCH] Add `require_relative` in ruby syntax highlighting (#1472) --- data/filedefs/filetypes.ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/filedefs/filetypes.ruby b/data/filedefs/filetypes.ruby index c51ddbd0..5a18bec9 100644 --- a/data/filedefs/filetypes.ruby +++ b/data/filedefs/filetypes.ruby @@ -38,7 +38,7 @@ pod=comment_doc [keywords] # all items must be in one line -primary=__FILE__ load define_method attr_accessor attr_writer attr_reader and def end in or self unless __LINE__ begin defined? ensure module redo super until BEGIN break do false next rescue then when END case else for nil include require retry true while alias class elsif if not return undef yield +primary=__FILE__ load define_method attr_accessor attr_writer attr_reader and def end in or self unless __LINE__ begin defined? ensure module redo super until BEGIN break do false next rescue then when END case else for nil include require require_relative retry true while alias class elsif if not return undef yield [settings]