From 157ee8ca277e80094398dd0aa599dd6338bb40ce Mon Sep 17 00:00:00 2001 From: Simon Volpert Date: Mon, 29 Jun 2015 19:37:34 +0300 Subject: [PATCH] Add a separate rule for beancount account name syntax --- ledger.nanorc | 1 + 1 file changed, 1 insertion(+) diff --git a/ledger.nanorc b/ledger.nanorc index e0344fa..9fb6cd6 100644 --- a/ledger.nanorc +++ b/ledger.nanorc @@ -5,5 +5,6 @@ color blue "^[0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}" color brightyellow "^~ .*" color brightblue "^= .*" color cyan "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?" +color cyan "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z_-]+(:[A-Za-z_-]+)*\)?" color red "[*!]" color brightblack "^[[:space:]]*;.*"