Skip to content

Commit

Permalink
Add newline at eof for (system)verilog lexers
Browse files Browse the repository at this point in the history
Fixes #55
  • Loading branch information
kaushalmodi committed Oct 9, 2017
1 parent 7f66cd3 commit 8f90f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lexers/systemverilog.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var Systemverilog = Register(MustNewLexer(
Aliases: []string{"systemverilog", "sv"},
Filenames: []string{"*.sv", "*.svh"},
MimeTypes: []string{"text/x-systemverilog"},
EnsureNL: true,
},
Rules{
"root": {
Expand Down
1 change: 1 addition & 0 deletions lexers/verilog.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var Verilog = Register(MustNewLexer(
Aliases: []string{"verilog", "v"},
Filenames: []string{"*.v"},
MimeTypes: []string{"text/x-verilog"},
EnsureNL: true,
},
Rules{
"root": {
Expand Down

0 comments on commit 8f90f6d

Please sign in to comment.