File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -145,16 +145,11 @@ BUFFER-MODIFIED? determines whether the buffer is modified or not."
145
145
146
146
(defun lsp-lens--create-interactive-command (command? )
147
147
" Create an interactive COMMAND? for the lens."
148
- (let ((server-id (->> (lsp-workspaces)
149
- (cl-first )
150
- (or lsp--cur-workspace)
151
- (lsp--workspace-client)
152
- (lsp--client-server-id))))
153
- (if (functionp (lsp:command-command command?) )
154
- (lsp:command-command command?)
155
- (lambda ()
156
- (interactive )
157
- (lsp--execute-command command?) ))))
148
+ (if (functionp (lsp:command-command command?) )
149
+ (lsp:command-command command?)
150
+ (lambda ()
151
+ (interactive )
152
+ (lsp--execute-command command?) )))
158
153
159
154
(defun lsp-lens--display (lenses )
160
155
" Show LENSES."
You can’t perform that action at this time.
0 commit comments