We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1fdf56 commit 1c63086Copy full SHA for 1c63086
utils/pygments/swift.py
@@ -2,8 +2,23 @@
2
3
import re
4
5
-from pygments.lexer import RegexLexer, include, bygroups
6
-from pygments.token import *
+from pygments.lexer import (
+ RegexLexer,
7
+ bygroups,
8
+ include,
9
+)
10
+from pygments.token import (
11
+ Comment,
12
+ Generic,
13
+ Keyword,
14
+ Name,
15
+ Number,
16
+ Operator,
17
+ Punctuation,
18
+ String,
19
+ Text,
20
+ Whitespace,
21
22
23
__all__ = ['SwiftLexer', 'SwiftConsoleLexer']
24
0 commit comments