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:
Oskar Thorén 2020-04-21 14:55:35 +08:00 committed by GitHub
parent 4ade5797ee
commit 6667f943cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -22,17 +22,17 @@ type
topology* {.
desc: "Set the network topology."
defaultValue: Star
name: "topology" }: Topology
name: "topology" .}: Topology
amount* {.
desc: "Amount of full nodes to be started."
defaultValue: 4
name: "amount" }: int
name: "amount" .}: int
testNodePeers* {.
desc: "Amount of peers a test node should connect to."
defaultValue: 1
name: "test-node-peers" }: int
name: "test-node-peers" .}: int
NodeInfo* = object
cmd: string