Skip to content

Commit

Permalink
Fix handling empty arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit authored Jul 23, 2022
1 parent 5137d3d commit acadce8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,10 @@ local function setup(args)
xplr.fn.custom.nuke_info_view = info_view
xplr.fn.custom.nuke_smart_view = smart_view
xplr.fn.custom.nuke_open = open

if args == nil then
args = {}
end

if args.pager then
pager = args.pager
Expand Down

0 comments on commit acadce8

Please sign in to comment.