Skip to content

Commit

Permalink
fix: help_native previewer (fixes #1029, caused by 76ddb46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Feb 5, 2024
1 parent f40b276 commit ba16437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/fzf-lua/previewer/fzf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Previewer.base:fzf_delimiter()
delim = "[:]"
elseif not delim:match(":") then
if delim:match("%[.*%]") then
delim = delim:match("(%[.*)%]") .. ":]"
delim = delim:gsub("%]", ":]")
else
-- remove surrounding quotes
delim = delim:match("^'?(.*)'$?") or delim
Expand Down

0 comments on commit ba16437

Please sign in to comment.