mirror of
https://github.com/alecthomas/chroma.git
synced 2025-01-12 01:22:30 +02:00
Add newline at eof for (system)verilog lexers
Fixes https://github.com/alecthomas/chroma/issues/55
This commit is contained in:
parent
7f66cd3f6e
commit
8f90f6d80a
@ -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": {
|
||||
|
@ -11,6 +11,7 @@ var Verilog = Register(MustNewLexer(
|
||||
Aliases: []string{"verilog", "v"},
|
||||
Filenames: []string{"*.v"},
|
||||
MimeTypes: []string{"text/x-verilog"},
|
||||
EnsureNL: true,
|
||||
},
|
||||
Rules{
|
||||
"root": {
|
||||
|
Loading…
Reference in New Issue
Block a user