Skip to content

Commit

Permalink
Correct str.join arg order #476
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Apr 10, 2023
1 parent 73abde6 commit 7625ed9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fnl/conjure/client/clojure/nrepl/action.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -603,10 +603,10 @@
: arglists}]
{:word word
:menu (str.join
" "
[ns
(when arglists
(str.join arglists " "))]
" ")
(str.join " " arglists ))])
:info (when (= :string (type info))
info)
:kind (when (not (a.empty? kind))
Expand Down
4 changes: 2 additions & 2 deletions lua/conjure/client/clojure/nrepl/action.lua
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ local function clojure__3evim_completion(_128_)
local arglists = _arg_129_["arglists"]
local function _130_()
if arglists then
return str.join(arglists, " ")
return str.join(" ", arglists)
else
return nil
end
Expand All @@ -733,7 +733,7 @@ local function clojure__3evim_completion(_128_)
else
_133_ = nil
end
return {word = word, menu = str.join({ns, _130_()}, " "), info = _131_, kind = _133_}
return {word = word, menu = str.join(" ", {ns, _130_()}), info = _131_, kind = _133_}
end
_2amodule_locals_2a["clojure->vim-completion"] = clojure__3evim_completion
local function extract_completion_context(prefix)
Expand Down

0 comments on commit 7625ed9

Please sign in to comment.