Skip to content

Commit f0586ad

Browse files
committed
Review: rename x to folder in :action
1 parent 772cdae commit f0586ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-ivy.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ When called with prefix ARG the default selection will be symbol at point."
228228
(let ((session (lsp-session)))
229229
(ivy-read "Select workspace folder to remove: " (lsp-session-folders session)
230230
:preselect (-some->> default-directory (lsp-find-session-folder session))
231-
:action (lambda (x)
232-
(lsp-workspace-folders-remove x)
231+
:action (lambda (folder)
232+
(lsp-workspace-folders-remove folder)
233233
(ivy--kill-current-candidate)))))
234234

235235
(provide 'lsp-ivy)

0 commit comments

Comments
 (0)