mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Support VB.NET *.Generated.vb along with *.Generated.cs files (#4027)
This commit is contained in:
committed by
Colin Seymour
parent
fe3981ff03
commit
c2d3170064
@@ -222,7 +222,7 @@ module Linguist
|
||||
#
|
||||
# Returns true or false
|
||||
def generated_net_designer_file?
|
||||
name.downcase =~ /\.designer\.cs$/
|
||||
name.downcase =~ /\.designer\.(cs|vb)$/
|
||||
end
|
||||
|
||||
# Internal: Is this a codegen file for Specflow feature file?
|
||||
|
||||
Reference in New Issue
Block a user