mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
tools: Add yml mode to blockreplace.py
This commit is contained in:
parent
f1293ed0e6
commit
67a39b59e7
1 changed files with 5 additions and 0 deletions
|
@ -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}",
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue