Skip to content

Commit ee82e99

Browse files
committed
feat(commands): add query/cancel command
1 parent 4c02041 commit ee82e99

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lsp-mssql.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,11 @@ PARAMS batch handler params."
436436
(erase-buffer))
437437
(lsp-request "query/executeDocumentSelection" (list :ownerUri (lsp--buffer-uri))))
438438

439+
(defun lsp-mssql-cancel ()
440+
"Cancel the current query."
441+
(interactive)
442+
(lsp-request "query/cancel" (list :ownerUri (lsp--buffer-uri))))
443+
439444

440445
;; object explorer
441446

0 commit comments

Comments
 (0)