Added inlayhints to tssevrer config

Added remap to toggle inlay hints
This commit is contained in:
2024-03-25 16:47:33 +01:00
parent fd4133ff85
commit 9366cff430
2 changed files with 19 additions and 1 deletions

View File

@@ -44,7 +44,14 @@ return {
settings = {
cmd = { cmd, "--stdio" },
tsserver_file_preferences = {
includeCompletionsForModuleExports = true,
includeInlayParameterNameHints = "all",
includeInlayParameterNameHintsWhenArgumentMatchesName = true,
includeInlayFunctionParameterTypeHints = true,
includeInlayVariableTypeHints = true,
includeInlayVariableTypeHintsWhenTypeMatchesName = true,
includeInlayPropertyDeclarationTypeHints = true,
includeInlayFunctionLikeReturnTypeHints = true,
includeInlayEnumMemberValueHints = true,
quotePreference = "auto",
},
},