mirror of
https://github.com/XAMPPRocky/tokei
synced 2024-10-01 05:23:37 +00:00
Add support for Dhall lang (#532)
This commit is contained in:
parent
89f1fde9d3
commit
e88eabe7d9
|
@ -306,6 +306,7 @@ Css
|
|||
D
|
||||
Dart
|
||||
DeviceTree
|
||||
Dhall
|
||||
Dockerfile
|
||||
DotNetResource
|
||||
DreamMaker
|
||||
|
|
|
@ -270,6 +270,13 @@
|
|||
"quotes": [["\\\"", "\\\""]],
|
||||
"extensions": ["dts", "dtsi"]
|
||||
},
|
||||
"Dhall":{
|
||||
"nested": true,
|
||||
"line_comment": ["--"],
|
||||
"multi_line_comments": [["{-", "-}"]],
|
||||
"quotes": [["\\\"", "\\\""], ["''", "''"]],
|
||||
"extensions": ["dhall"]
|
||||
},
|
||||
"DreamMaker": {
|
||||
"name": "Dream Maker",
|
||||
"line_comment": ["//"],
|
||||
|
|
16
tests/data/dhall.dhall
Normal file
16
tests/data/dhall.dhall
Normal file
|
@ -0,0 +1,16 @@
|
|||
-- 16 lines 9 code 5 comments 2 blanks
|
||||
{- A comment within the interior of a multi-line literal counts as part of the
|
||||
literal
|
||||
-}
|
||||
|
||||
''
|
||||
-- Hello
|
||||
{- world -}
|
||||
''
|
||||
{ some = "thing"
|
||||
|
||||
, keys = ["can"
|
||||
, "have",
|
||||
-- wait for it
|
||||
"lists"]
|
||||
}
|
Loading…
Reference in a new issue