summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy Lotorev <lotorev@gmail.com>2013-01-11 02:47:44 +0400
committerVitaliy Lotorev <lotorev@gmail.com>2013-01-11 02:47:44 +0400
commit49fc715e0d026c07bf67c45f74b5752d4102d5f6 (patch)
treedb68336481c0b5fd3af79d162e3a27f1af103d3a
parent16c4f7b93dcb7b1469f4cd5dab7648d98bd73248 (diff)
downloadpygments-49fc715e0d026c07bf67c45f74b5752d4102d5f6.tar.gz
added language full name in aliases for systemverilog+verilog in lexers/hdl.py
-rw-r--r--pygments/lexers/_mapping.py4
-rw-r--r--pygments/lexers/hdl.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/_mapping.py b/pygments/lexers/_mapping.py
index e273734a..72d76a18 100644
--- a/pygments/lexers/_mapping.py
+++ b/pygments/lexers/_mapping.py
@@ -268,7 +268,7 @@ LEXERS = {
'SquidConfLexer': ('pygments.lexers.text', 'SquidConf', ('squidconf', 'squid.conf', 'squid'), ('squid.conf',), ('text/x-squidconf',)),
'SspLexer': ('pygments.lexers.templates', 'Scalate Server Page', ('ssp',), ('*.ssp',), ('application/x-ssp',)),
'StanLexer': ('pygments.lexers.math', 'Stan', ('stan',), ('*.stan',), ()),
- 'SystemVerilogLexer': ('pygments.lexers.hdl', 'systemverilog', ('sv',), ('*.sv', '*.svh'), ('text/x-systemverilog',)),
+ 'SystemVerilogLexer': ('pygments.lexers.hdl', 'systemverilog', ('systemverilog', 'sv'), ('*.sv', '*.svh'), ('text/x-systemverilog',)),
'TclLexer': ('pygments.lexers.agile', 'Tcl', ('tcl',), ('*.tcl',), ('text/x-tcl', 'text/x-script.tcl', 'application/x-tcl')),
'TcshLexer': ('pygments.lexers.shell', 'Tcsh', ('tcsh', 'csh'), ('*.tcsh', '*.csh'), ('application/x-csh',)),
'TeaTemplateLexer': ('pygments.lexers.templates', 'Tea', ('tea',), ('*.tea',), ('text/x-tea',)),
@@ -284,7 +284,7 @@ LEXERS = {
'VelocityHtmlLexer': ('pygments.lexers.templates', 'HTML+Velocity', ('html+velocity',), (), ('text/html+velocity',)),
'VelocityLexer': ('pygments.lexers.templates', 'Velocity', ('velocity',), ('*.vm', '*.fhtml'), ()),
'VelocityXmlLexer': ('pygments.lexers.templates', 'XML+Velocity', ('xml+velocity',), (), ('application/xml+velocity',)),
- 'VerilogLexer': ('pygments.lexers.hdl', 'verilog', ('v',), ('*.v',), ('text/x-verilog',)),
+ 'VerilogLexer': ('pygments.lexers.hdl', 'verilog', ('verilog', 'v'), ('*.v',), ('text/x-verilog',)),
'VhdlLexer': ('pygments.lexers.hdl', 'vhdl', ('vhdl',), ('*.vhdl', '*.vhd'), ('text/x-vhdl',)),
'VimLexer': ('pygments.lexers.text', 'VimL', ('vim',), ('*.vim', '.vimrc', '.exrc', '.gvimrc', '_vimrc', '_exrc', '_gvimrc', 'vimrc', 'gvimrc'), ('text/x-vim',)),
'XQueryLexer': ('pygments.lexers.web', 'XQuery', ('xquery', 'xqy', 'xq', 'xql', 'xqm'), ('*.xqy', '*.xquery', '*.xq', '*.xql', '*.xqm'), ('text/xquery', 'application/xquery')),
diff --git a/pygments/lexers/hdl.py b/pygments/lexers/hdl.py
index 647f8396..57ffc349 100644
--- a/pygments/lexers/hdl.py
+++ b/pygments/lexers/hdl.py
@@ -25,7 +25,7 @@ class VerilogLexer(RegexLexer):
*New in Pygments 1.4.*
"""
name = 'verilog'
- aliases = ['v']
+ aliases = ['verilog', 'v']
filenames = ['*.v']
mimetypes = ['text/x-verilog']
@@ -137,7 +137,7 @@ class SystemVerilogLexer(RegexLexer):
*New in Pygments 1.5.*
"""
name = 'systemverilog'
- aliases = ['sv']
+ aliases = ['systemverilog', 'sv']
filenames = ['*.sv', '*.svh']
mimetypes = ['text/x-systemverilog']