From 3cf270753acc512ecf4333cbce2360a91546c5af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 6 Oct 2020 22:47:33 +0200 Subject: State: rename tagSymbols to aliases --- src/Much/State.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Much/State.hs') diff --git a/src/Much/State.hs b/src/Much/State.hs index 620a489..a1de01f 100644 --- a/src/Much/State.hs +++ b/src/Much/State.hs @@ -34,7 +34,7 @@ data State = State , query :: String , keymap :: String -> State -> IO State , mousemap :: Scan -> State -> IO State - , tagSymbols :: M.Map T.Text T.Text + , aliases :: M.Map T.Text T.Text , colorConfig :: ColorConfig Identity , apiConfig :: Much.API.Config.Config , attachmentOverwrite :: Bool @@ -85,7 +85,6 @@ instance Applicative f => Default (ColorConfig f) where } instance FromJSON (ColorConfig Maybe) -instance Show (ColorConfig Maybe) instance Default State where def = State @@ -103,7 +102,7 @@ instance Default State where , keymap = const return , mousemap = const return , colorConfig = def - , tagSymbols = M.empty + , aliases = M.empty , apiConfig = def , attachmentOverwrite = False , attachmentDirectory = "/tmp" -- cgit v1.2.3