Adding upstream version 1.23.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
f253096a15
commit
94e3fc38e7
93 changed files with 10761 additions and 0 deletions
12
mycli/lexer.py
Normal file
12
mycli/lexer.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from pygments.lexer import inherit
|
||||
from pygments.lexers.sql import MySqlLexer
|
||||
from pygments.token import Keyword
|
||||
|
||||
|
||||
class MyCliLexer(MySqlLexer):
|
||||
"""Extends MySQL lexer to add keywords."""
|
||||
|
||||
tokens = {
|
||||
'root': [(r'\brepair\b', Keyword),
|
||||
(r'\boffset\b', Keyword), inherit],
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue