Skip to content

Commit

Permalink
Update which_key.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassin01 committed Jan 21, 2024
1 parent 0b36b04 commit e6f653d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/wf/builtin/which_key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ local function which_key(opts)
local count = vim.api.nvim_get_vvar("count")

opts = opts or { text_insert_in_advance = "" }
opts["text_insert_in_advance"] =
string.gsub(opts["text_insert_in_advance"], "<leader>", leader())
opts["text_insert_in_advance"] = string.gsub(opts["text_insert_in_advance"], "<leader>", leader())
local _opts = {
title = "Which Key",
text_insert_in_advance = "",
Expand Down

0 comments on commit e6f653d

Please sign in to comment.