File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,12 @@ stored."
245245 :type 'string
246246 :package-version '(lsp-mode . " 8.0.0" ))
247247
248+ (defcustom lsp-eslint-multi-root nil
249+ " If non nil, `eslint' will be started in multi-root mode."
250+ :type 'boolean
251+ :safe #'booleanp
252+ :package-version '(lsp-mode . " 9.0.1" ))
253+
248254(defun lsp--find-eslint ()
249255 (or
250256 (when-let* ((workspace-folder (lsp-find-session-folder (lsp-session) default-directory)))
@@ -422,7 +428,7 @@ to allow or deny it.")
422428 :priority -1
423429 :completion-in-comments? t
424430 :add-on? t
425- :multi-root t
431+ :multi-root lsp-eslint-multi-root
426432 :notification-handlers (ht (" eslint/status" #'lsp-eslint-status-handler ))
427433 :request-handlers (ht (" workspace/configuration" #'lsp-eslint--configuration )
428434 (" eslint/openDoc" #'lsp-eslint--open-doc )
You can’t perform that action at this time.
0 commit comments