Skip to content

Commit

Permalink
Fix quoting colortool scheme name completions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed Nov 19, 2023
1 parent a955098 commit 35296a8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion completions/colortool.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ local function init_themes(argmatcher, argindex) -- luacheck: no unused
return matches
end

local function forcequoting(_, _, _, builder)
if builder.setforcequoting then
builder:setforcequoting()
end
return {}
end

local function closure(argmatcher)
argmatcher:addarg({delayinit=init_themes})
argmatcher:addarg({delayinit=init_themes, forcequoting})
argmatcher:nofiles()
end

Expand Down

0 comments on commit 35296a8

Please sign in to comment.