Skip to content

Commit

Permalink
Fix builtins missing keywords issue in Matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
tancnle committed Oct 26, 2023
1 parent 4e47529 commit 0538aee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
11 changes: 0 additions & 11 deletions lib/rouge/lexers/matlab/builtins.rb

This file was deleted.

6 changes: 4 additions & 2 deletions lib/rouge/lexers/matlab/keywords.rb

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions tasks/builtins/matlab.rake
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ module Rouge
yield ""
yield "module Rouge"
yield " module Lexers"
yield " def Matlab.builtins"
yield " @builtins ||= Set.new #{keywords.inspect}"
yield " class Matlab"
yield " def self.builtins"
yield " @builtins ||= Set.new #{keywords.inspect}"
yield " end"
yield " end"
yield " end"
yield "end"
yield ""
end
end
end
Expand Down

0 comments on commit 0538aee

Please sign in to comment.