Skip to content

Commit

Permalink
Add pyright.disableTaggedHints
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho authored and seagle0128 committed Jul 9, 2024
1 parent c2613f5 commit b215d68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lsp-pyright.el
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ 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."
:type 'boolean
:group 'lsp-pyright)

(defcustom lsp-pyright-diagnostic-mode "openFilesOnly"
"Determines pyright diagnostic mode.
Whether pyright analyzes (and reports errors for) all files
Expand Down Expand Up @@ -227,6 +232,7 @@ Current LSP WORKSPACE should be passed in."
(lsp-register-custom-settings
`(("pyright.disableLanguageServices" lsp-pyright-disable-language-services t)
("pyright.disableOrganizeImports" lsp-pyright-disable-organize-imports t)
("pyright.disableTaggedHints" lsp-pyright-disable-tagged-hints t)
("python.analysis.autoImportCompletions" lsp-pyright-auto-import-completions t)
("python.analysis.typeshedPaths" lsp-pyright-typeshed-paths)
("python.analysis.stubPath" lsp-pyright-stub-path)
Expand Down

0 comments on commit b215d68

Please sign in to comment.