diff options
author | defanor <defanor@uberspace.net> | 2017-11-23 06:20:50 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2017-11-23 06:20:50 +0300 |
commit | 07fa7ad1000f6ac6fd76fc9233c150bdbde2e67b (patch) | |
tree | c62b1466168392c3d04e1827b31b317428a6251c /Pancake/Configuration.hs | |
parent | b6b3b20e30bf7e05a317522b7c5284a4f7b92223 (diff) |
Allow user-defined digits and radices for reference numbering
Diffstat (limited to 'Pancake/Configuration.hs')
-rw-r--r-- | Pancake/Configuration.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Pancake/Configuration.hs b/Pancake/Configuration.hs index 5c52dda..2d20985 100644 --- a/Pancake/Configuration.hs +++ b/Pancake/Configuration.hs @@ -44,6 +44,9 @@ data Config = Config { commands :: M.Map String String , historyDepth :: Int -- ^ The amount of history entries (into either -- direction) to keep. + , referenceDigits :: String + -- ^ Digits to use for reference numbering, must + -- be unique. } deriving (Generic, Show) -- | For configuration parsing. @@ -78,6 +81,7 @@ instance Default Config where , ("vs", "gopher://gopher.floodgap.com/7/v2/vs?")] , paginate = True , historyDepth = 100 + , referenceDigits = "0123456789" } -- | Loads configuration from an XDG config directory. |