mirror of https://github.com/XAMPPRocky/tokei
Add support for CUE (#1049)
This commit is contained in:
parent
ba8017bad0
commit
079e4c2cfa
|
|
@ -330,6 +330,17 @@
|
|||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["cu"]
|
||||
},
|
||||
"Cue": {
|
||||
"name": "CUE",
|
||||
"line_comment": ["//"],
|
||||
"quotes": [
|
||||
["\\\"", "\\\""],
|
||||
["'", "'"],
|
||||
["\\\"\\\"\\\"", "\\\"\\\"\\\""]
|
||||
],
|
||||
"verbatim_quotes": [["#\\\"", "\\\"#"]],
|
||||
"extensions": ["cue"]
|
||||
},
|
||||
"Cython": {
|
||||
"line_comment": ["#"],
|
||||
"doc_quotes": [["\\\"\\\"\\\"", "\\\"\\\"\\\""], ["'''", "'''"]],
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
// 12 lines 8 code 2 comments 2 blanks
|
||||
|
||||
// A documentation comment
|
||||
map: {
|
||||
normal: "normal string" // inline comment (not counted)
|
||||
|
||||
content: """
|
||||
Multi-line string
|
||||
"""
|
||||
raw: #"A newline is \#n written as "\n"."#
|
||||
byte: '\U0001F604'
|
||||
}
|
||||
Loading…
Reference in New Issue