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* {. 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