Skip to content

Commit

Permalink
fix: correct case of PmenuSel highlight group
Browse files Browse the repository at this point in the history
  • Loading branch information
wincent committed Jan 7, 2025
1 parent 28f6abe commit 5eda420
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/command-t.txt
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ are documented and they could change without notice at any time; for example:
max_files = 0,
},
},
selection_highlight = 'PMenuSel',
selection_highlight = 'PmenuSel',
smart_case = nil, -- If nil, will infer from Neovim's `'smartcase'`.
threads = nil, -- Let heuristic apply.
traverse = 'none', -- 'file', 'pwd' or 'none'.
Expand Down
2 changes: 1 addition & 1 deletion lua/wincent/commandt/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ local default_options = {
max_files = 0,
},
},
selection_highlight = 'PMenuSel',
selection_highlight = 'PmenuSel',
smart_case = nil, -- If nil, will infer from Neovim's `'smartcase'`.
threads = nil, -- Let heuristic apply.
traverse = 'none', -- 'file', 'pwd' or 'none'.
Expand Down
2 changes: 1 addition & 1 deletion lua/wincent/commandt/private/match_listing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function MatchListing.new(options)
height = 15,
margin = 0,
position = 'bottom',
selection_highlight = 'PMenuSel',
selection_highlight = 'PmenuSel',
}, options or {})
-- TODO: validate options
local m = {
Expand Down
2 changes: 1 addition & 1 deletion lua/wincent/commandt/private/window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function Window.new(options)
on_leave = nil,
on_resize = nil,
prompt = '> ', -- Has no effect unless `buftype` is 'prompt'.
selection_highlight = 'PMenuSel',
selection_highlight = 'PmenuSel',
title = 'Command-T', -- Set to '' to suppress.
top = nil,
}, options)
Expand Down

0 comments on commit 5eda420

Please sign in to comment.