We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e82c3 commit 4cbe8d5Copy full SHA for 4cbe8d5
clients/lsp-golangci-lint.el
@@ -147,7 +147,7 @@
147
(with-temp-buffer
148
(when (= 0 (call-process lsp-golangci-lint-path nil t nil "version"))
149
(goto-char (point-min))
150
- (when (re-search-forward "has version \\([0-9]+\\)\\." nil t)
+ (when (re-search-forward "has version v?\\([0-9]+\\)\\." nil t)
151
(string-to-number (match-string 1))))))
152
153
(defun lsp-golangci-lint--get-initialization-options ()
0 commit comments