diff options
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml index c1315d96..9402ff24 100644 --- a/languages.toml +++ b/languages.toml @@ -62,7 +62,6 @@ slint-lsp = { command = "slint-lsp", args = [] } solargraph = { command = "solargraph", args = ["stdio"] } solc = { command = "solc", args = ["--lsp"] } sourcekit-lsp = { command = "sourcekit-lsp" } -svelteserver = { command = "svelteserver", args = ["--stdio"] } svlangserver = { command = "svlangserver", args = [] } swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] } taplo = { command = "taplo", args = ["lsp", "stdio"] } @@ -140,6 +139,25 @@ includeInlayParameterNameHintsWhenArgumentMatchesName = true includeInlayPropertyDeclarationTypeHints = true includeInlayVariableTypeHints = true +[language-server.svelteserver] +command = "svelteserver" +args = ["--stdio"] + +[language-server.svelteserver.config.configuration.typescript] +inlayHints.parameterTypes.enabled = true +inlayHints.variableTypes.enabled = true +inlayHints.propertyDeclarationTypes.enabled = true +inlayHints.functionLikeReturnTypes.enabled = true +inlayHints.enumMemberValues.enabled = true +inlayHints.parameterNames.enabled = "all" + +[language-server.svelteserver.config.configuration.javascript] +inlayHints.parameterTypes.enabled = true +inlayHints.variableTypes.enabled = true +inlayHints.propertyDeclarationTypes.enabled = true +inlayHints.functionLikeReturnTypes.enabled = true +inlayHints.enumMemberValues.enabled = true +inlayHints.parameterNames.enabled = "all" [[language]] name = "rust" |