Skip to content

Commit

Permalink
Fix crash when tab completing an empty string (#736) (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushBalaji authored and sayanarijit committed Jan 30, 2025
1 parent d61350c commit 88839f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3060,7 +3060,7 @@ xplr.config.modes.custom = {}

-- Tries to auto complete the path in the input buffer
xplr.fn.builtin.try_complete_path = function(m)
if not m.input_buffer then
if not m.input_buffer or m.input_buffer == "" then
return
end

Expand Down

0 comments on commit 88839f0

Please sign in to comment.