From 6667f943cf921e7d16fc8b656808efd3322a4899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Thor=C3=A9n?= Date: Tue, 21 Apr 2020 14:55:35 +0800 Subject: [PATCH] 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. --- waku/start_network.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/waku/start_network.nim b/waku/start_network.nim index 473fab7bf..845379e9c 100644 --- a/waku/start_network.nim +++ b/waku/start_network.nim @@ -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