Skip to content

Commit

Permalink
updates for v0.8.0 of the language server (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Nov 22, 2021
1 parent ea3a84e commit 50ac06b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LSP-typescript.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"initializationOptions": {
"logVerbosity": "off",
"maxTsServerMemory": 0,
"npmLocation": "",
"plugins": [],
"preferences": {
"allowIncompleteCompletions": true,
Expand All @@ -18,6 +19,7 @@
},
},
"settings": {
"diagnostics.ignoredCodes": [],
// Javascript formatting options.
"javascript.format.insertSpaceAfterCommaDelimiter": true,
"javascript.format.insertSpaceAfterConstructor": false,
Expand Down
17 changes: 17 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 50ac06b

Please sign in to comment.