tools: Add yml mode to blockreplace.py

This commit is contained in:
Christian Decker 2022-12-19 15:42:51 +01:00 committed by Rusty Russell
parent f1293ed0e6
commit 67a39b59e7

View file

@ -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}",
),
}