Skip to content

Commit df76c06

Browse files
authored
fix(lsp-bufls): Resolve timeout issues (#4739)
* The buf LSP has a default timeout of 2 minutes. So set the timeout to 0 to disable it.
1 parent 4cddd2d commit df76c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/lsp-bufls.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
:link '(url-lint "https://github.com/bufbuild/buf")
7272
:package-version '(lsp-mode . "9.0.0"))
7373

74-
(defcustom lsp-buf-args `("beta" "lsp")
74+
(defcustom lsp-buf-args `("beta" "lsp" "--timeout" "0" "--log-format" "json")
7575
"Arguments to pass to buf CLI."
7676
:type '(repeat string)
7777
:group 'lsp-buf

0 commit comments

Comments
 (0)