mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-31 12:11:52 -07:00
add complCaseSensitivity field to XPConfig
This commit is contained in:
@@ -185,6 +185,8 @@ data XPConfig =
|
||||
, autoComplete :: Maybe Int -- ^ Just x: if only one completion remains, auto-select it,
|
||||
-- and delay by x microseconds
|
||||
, showCompletionOnTab :: Bool -- ^ Only show list of completions when Tab was pressed
|
||||
, complCaseSensitivity :: ComplCaseSensitivity
|
||||
-- ^ Perform completion in a case-sensitive manner
|
||||
, searchPredicate :: String -> String -> Bool
|
||||
-- ^ Given the typed string and a possible
|
||||
-- completion, is the completion valid?
|
||||
@@ -323,6 +325,7 @@ instance Default XPConfig where
|
||||
, defaultText = []
|
||||
, autoComplete = Nothing
|
||||
, showCompletionOnTab = False
|
||||
, complCaseSensitivity = ComplCaseSensitive True
|
||||
, searchPredicate = isPrefixOf
|
||||
, alwaysHighlight = False
|
||||
, defaultPrompter = id
|
||||
|
Reference in New Issue
Block a user