Skip to content

Commit 43bcd4c

Browse files
authored
Added Mojo 25.1 keyword changes (#2112)
* Mojo language highlighting support. * Added new line to fix the Linelint error * Updated to Mojo 25.1 keywords * Fixed merge mistake * New line
1 parent 3c50ae1 commit 43bcd4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rouge/lexers/mojo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def self.detect?(text)
1919

2020
def self.keywords
2121
@keywords ||= super + %w(
22-
fn self alias inout borrowed owned ref var
22+
fn self alias out read mut owned ref var
2323
struct trait raises with in match case
2424
)
2525
end

0 commit comments

Comments
 (0)