diff --git a/LSP-typescript.sublime-settings b/LSP-typescript.sublime-settings index 55a5538..ab3d5ff 100644 --- a/LSP-typescript.sublime-settings +++ b/LSP-typescript.sublime-settings @@ -3,6 +3,7 @@ "initializationOptions": { "logVerbosity": "off", "maxTsServerMemory": 0, + "npmLocation": "", "plugins": [], "preferences": { "allowIncompleteCompletions": true, @@ -18,6 +19,7 @@ }, }, "settings": { + "diagnostics.ignoredCodes": [], // Javascript formatting options. "javascript.format.insertSpaceAfterCommaDelimiter": true, "javascript.format.insertSpaceAfterConstructor": false, diff --git a/sublime-package.json b/sublime-package.json index f670115..0e26a86 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -37,6 +37,10 @@ "type": "number", "markdownDescription": "The maximum size of the V8's old memory section in megabytes (for example `4096` means 4GB). The default value is dynamically configured by Node so can differ per system. Increase for very big projects that exceed allowed memory usage." }, + "npmLocation": { + "type": "string", + "markdownDescription": "Specifies the path to the NPM executable used for Automatic Type Acquisition." + }, "plugins": { "type": "array", "default": [], @@ -153,6 +157,19 @@ "type": "object", "additionalProperties": false, "properties": { + "completions.completeFunctionCalls": { + "type": "boolean", + "default": false + }, + "diagnostics.ignoredCodes": { + "type": "array", + "items": { + "type": "number", + "uniqueItems": true + }, + "default": [], + "markdownDescription": "Diagnostics code to be omitted when reporting diagnostics. See https://github.com/microsoft/TypeScript/blob/master/src/compiler/diagnosticMessages.json for a full list of valid codes." + }, "typescript.format.insertSpaceAfterCommaDelimiter": { "type": "boolean", "default": true