Waku: Style: Fix {. .} syntax in objects (#498)
"Pragma syntax" for objects are now enclosed in {. .}, which means syntax highlighting in e.g. NeoVim nim.nvim works.
This commit is contained in:
parent
4ade5797ee
commit
6667f943cf
|
@ -22,17 +22,17 @@ type
|
||||||
topology* {.
|
topology* {.
|
||||||
desc: "Set the network topology."
|
desc: "Set the network topology."
|
||||||
defaultValue: Star
|
defaultValue: Star
|
||||||
name: "topology" }: Topology
|
name: "topology" .}: Topology
|
||||||
|
|
||||||
amount* {.
|
amount* {.
|
||||||
desc: "Amount of full nodes to be started."
|
desc: "Amount of full nodes to be started."
|
||||||
defaultValue: 4
|
defaultValue: 4
|
||||||
name: "amount" }: int
|
name: "amount" .}: int
|
||||||
|
|
||||||
testNodePeers* {.
|
testNodePeers* {.
|
||||||
desc: "Amount of peers a test node should connect to."
|
desc: "Amount of peers a test node should connect to."
|
||||||
defaultValue: 1
|
defaultValue: 1
|
||||||
name: "test-node-peers" }: int
|
name: "test-node-peers" .}: int
|
||||||
|
|
||||||
NodeInfo* = object
|
NodeInfo* = object
|
||||||
cmd: string
|
cmd: string
|
||||||
|
|
Loading…
Reference in New Issue