lib/rouge/lexers/vb.rb in rouge-1.9.1 vs lib/rouge/lexers/vb.rb in rouge-1.10.0
- old
+ new
@@ -5,10 +5,10 @@
class VisualBasic < RegexLexer
title "Visual Basic"
desc "Visual Basic"
tag 'vb'
aliases 'visualbasic'
- filenames '*.vbs'
+ filenames '*.vbs', '*.vb'
mimetypes 'text/x-visualbasic', 'application/x-visualbasic'
def self.keywords
@keywords ||= Set.new %w(
AddHandler Alias ByRef ByVal CBool CByte CChar CDate CDbl CDec