Skip to content

Commit

Permalink
remove settings that can be overridden by config files
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho authored and seagle0128 committed Jul 9, 2024
1 parent b215d68 commit 410870f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions lsp-pyright.el
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
:type 'boolean
:group 'lsp-pyright)

(defcustom lsp-pyright-use-library-code-for-types t
"Determines whether to analyze library code.
In order to extract type information in the absence of type stub files.
This can add significant overhead and may result in
poor-quality type information.
The default value for this option is true."
:type 'boolean
:group 'lsp-pyright)

(defcustom lsp-pyright-disable-tagged-hints nil
"Disables grayed out special hint diagnostics tags."
Expand All @@ -80,15 +72,6 @@ If this option is set to \"openFilesOnly\", pyright analyzes only open files."
(const "workspace"))
:group 'lsp-pyright)

(defcustom lsp-pyright-typechecking-mode "basic"
"Determines the default type-checking level used by pyright.
This can be overridden in the configuration file."
:type '(choice
(const "off")
(const "basic")
(const "strict"))
:group 'lsp-pyright)

(defcustom lsp-pyright-log-level "info"
"Determines the default log level used by pyright.
This can be overridden in the configuration file."
Expand Down Expand Up @@ -236,9 +219,7 @@ Current LSP WORKSPACE should be passed in."
("python.analysis.autoImportCompletions" lsp-pyright-auto-import-completions t)
("python.analysis.typeshedPaths" lsp-pyright-typeshed-paths)
("python.analysis.stubPath" lsp-pyright-stub-path)
("python.analysis.useLibraryCodeForTypes" lsp-pyright-use-library-code-for-types t)
("python.analysis.diagnosticMode" lsp-pyright-diagnostic-mode)
("python.analysis.typeCheckingMode" lsp-pyright-typechecking-mode)
("python.analysis.logLevel" lsp-pyright-log-level)
("python.analysis.autoSearchPaths" lsp-pyright-auto-search-paths t)
("python.analysis.extraPaths" lsp-pyright-extra-paths)
Expand Down

0 comments on commit 410870f

Please sign in to comment.