Skip to content

Commit b215d68

Browse files
wyuenhoseagle0128
authored andcommitted
Add pyright.disableTaggedHints
1 parent c2613f5 commit b215d68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lsp-pyright.el

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ The default value for this option is true."
6565
:type 'boolean
6666
:group 'lsp-pyright)
6767

68+
(defcustom lsp-pyright-disable-tagged-hints nil
69+
"Disables grayed out special hint diagnostics tags."
70+
:type 'boolean
71+
:group 'lsp-pyright)
72+
6873
(defcustom lsp-pyright-diagnostic-mode "openFilesOnly"
6974
"Determines pyright diagnostic mode.
7075
Whether pyright analyzes (and reports errors for) all files
@@ -227,6 +232,7 @@ Current LSP WORKSPACE should be passed in."
227232
(lsp-register-custom-settings
228233
`(("pyright.disableLanguageServices" lsp-pyright-disable-language-services t)
229234
("pyright.disableOrganizeImports" lsp-pyright-disable-organize-imports t)
235+
("pyright.disableTaggedHints" lsp-pyright-disable-tagged-hints t)
230236
("python.analysis.autoImportCompletions" lsp-pyright-auto-import-completions t)
231237
("python.analysis.typeshedPaths" lsp-pyright-typeshed-paths)
232238
("python.analysis.stubPath" lsp-pyright-stub-path)

0 commit comments

Comments
 (0)