Skip to content

Commit

Permalink
Merge pull request #111 from Cassin01/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Cassin01 authored Jan 22, 2024
2 parents cab8815 + e277ab6 commit 50a2b84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/wf/builtin/which_key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ local function which_key(opts)
local count = vim.api.nvim_get_vvar("count")

opts = opts or { text_insert_in_advance = "" }
-- Upper case
opts["text_insert_in_advance"] =
string.gsub(opts["text_insert_in_advance"], "<Leader>", leader())
-- Lower case
opts["text_insert_in_advance"] =
string.gsub(opts["text_insert_in_advance"], "<leader>", leader())
local _opts = {
Expand Down

0 comments on commit 50a2b84

Please sign in to comment.