Skip to content

Commit

Permalink
ensure config value is nil or t
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Christianson committed Jul 13, 2020
1 parent 40c7bab commit 20eee6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lsp-python-ms.el
Expand Up @@ -483,7 +483,7 @@ WORKSPACE is just used for logging and _PARAMS is unused."

("pyright.useLibraryCodeForTypes" t t)
("python.analysis.autoSearchPaths"
(lambda () (or lsp-python-ms-use-pyright
(lambda () (or (not (not lsp-python-ms-use-pyright))
(<= (length lsp-python-ms-extra-paths) 0))) t)
("python.analysis.autoSearchPaths" t t)
("python.analysis.cachingLevel" lsp-python-ms-cache)
Expand Down Expand Up @@ -517,7 +517,6 @@ WORKSPACE is just used for logging and _PARAMS is unused."
("pyright/reportProgress" 'ignore)
("pyright/endProgress" 'ignore)))))


(when (or (not lsp-python-ms-use-pyright) (eq lsp-python-ms-use-pyright 'addon))
(lsp-register-client
(make-lsp-client
Expand Down

0 comments on commit 20eee6f

Please sign in to comment.