mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 06:34:20 +01:00
tools: Add yml mode to blockreplace.py
This commit is contained in:
committed by
Rusty Russell
parent
f1293ed0e6
commit
67a39b59e7
@@ -17,6 +17,7 @@ class Language(str, Enum):
|
||||
md = 'md'
|
||||
rst = 'rst'
|
||||
c = 'c'
|
||||
yml = 'yml'
|
||||
|
||||
|
||||
comment_style = {
|
||||
@@ -32,6 +33,10 @@ comment_style = {
|
||||
"/* block_start {blockname} */",
|
||||
"/* block_end {blockname} */",
|
||||
),
|
||||
Language.yml: (
|
||||
"# block_start {blockname}",
|
||||
"# block_end {blockname}",
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user