lib/rouge/lexers/php.rb in rouge-3.18.0 vs lib/rouge/lexers/php.rb in rouge-3.19.0
- old
+ new
@@ -27,11 +27,11 @@
@funcnamehighlighting = bool_option(:funcnamehighlighting) { true }
@disabledmodules = list_option(:disabledmodules)
end
def self.builtins
- load File.join(Lexers::BASE_DIR, 'php/builtins.rb')
- self.builtins
+ Kernel::load File.join(Lexers::BASE_DIR, 'php/keywords.rb')
+ builtins
end
def builtins
return [] unless @funcnamehighlighting