tools/lsp: refactor out dash

This commit is contained in:
Henrik Lissner 2019-06-30 13:20:46 +02:00
parent 108c7ba5ad
commit 7df4e252fd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -19,6 +19,7 @@ been moved out to their respective modules, or these hooks:
(lsp--try-project-root-workspaces (equal arg '(4))
(and arg (not (equal arg 1)))))))
(lsp-mode 1)
(lsp--info "Connected to %s."
(apply 'concat (--map (format "[%s]" (lsp--workspace-print it))
lsp--buffer-workspaces)))))
(lsp--info
"Connected to %s."
(apply #'concat (mapcar (lambda (it) (format "[%s]" (lsp--workspace-print it)))
lsp--buffer-workspaces)))))