@@ -213,7 +213,7 @@ Returns :elements from omnisharp:CodeStructureResponse."
213
213
214
214
(defun lsp-csharp--code-element-stack-on-l-c (l c elements )
215
215
" Return omnisharp:CodeElement stack at L (line) and C (column) in ELEMENTS tree."
216
- (when-let ((matching-element (seq-find (lambda (el )
216
+ (when-let* ((matching-element (seq-find (lambda (el )
217
217
(-when-let* (((&omnisharp:CodeElement :ranges ) el)
218
218
((&omnisharp:RangeList :full? ) ranges))
219
219
(lsp-csharp--l-c-within-range l c full?) ))
@@ -266,7 +266,7 @@ PRESENT-BUFFER will make the buffer be presented to the user."
266
266
267
267
(defun lsp-csharp--test-message (message )
268
268
" Emit a MESSAGE to lsp-csharp test run buffer."
269
- (when-let ((existing-buffer (get-buffer lsp-csharp-test-run-buffer-name))
269
+ (when-let* ((existing-buffer (get-buffer lsp-csharp-test-run-buffer-name))
270
270
(inhibit-read-only t ))
271
271
(with-current-buffer existing-buffer
272
272
(save-excursion
@@ -309,7 +309,7 @@ PRESENT-BUFFER will make the buffer be presented to the user."
309
309
(defun lsp-csharp-run-last-tests ()
310
310
" Re-run test(s) that were run last time."
311
311
(interactive )
312
- (if-let ((last-test-method-framework (lsp-session-get-metadata " last-test-method-framework" ))
312
+ (if-let* ((last-test-method-framework (lsp-session-get-metadata " last-test-method-framework" ))
313
313
(last-test-method-names (lsp-session-get-metadata " last-test-method-names" )))
314
314
(lsp-csharp--start-tests last-test-method-framework last-test-method-names)
315
315
(message " lsp-csharp: No test method(s) found to be ran previously on this workspace " )))
@@ -430,7 +430,7 @@ See https://github.com/OmniSharp/omnisharp-roslyn/wiki/Configuration-Options"
430
430
(when lsp-csharp-solution-file
431
431
(list " -s" (expand-file-name lsp-csharp-solution-file)))))
432
432
#' (lambda ()
433
- (when-let ((binary (lsp-csharp--language-server-path)))
433
+ (when-let* ((binary (lsp-csharp--language-server-path)))
434
434
(f-exists? binary))))
435
435
:activation-fn (lsp-activate-on " csharp" )
436
436
:server-id 'omnisharp
0 commit comments