lib/rouge/lexers/lua.rb in rouge-3.18.0 vs lib/rouge/lexers/lua.rb in rouge-3.19.0
- old
+ new
@@ -23,11 +23,11 @@
def self.detect?(text)
return true if text.shebang? 'lua'
end
def self.builtins
- load File.join(Lexers::BASE_DIR, 'lua/builtins.rb')
- self.builtins
+ Kernel::load File.join(Lexers::BASE_DIR, 'lua/keywords.rb')
+ builtins
end
def builtins
return [] unless @function_highlighting