From 52983b27166a4a8f2c1ef6d59830aa18d2bf5139 Mon Sep 17 00:00:00 2001 From: Rafal Chlodnicki Date: Sat, 20 Jan 2024 15:16:13 +0100 Subject: [PATCH] delete settings (move to LSP) --- lsp_utils.sublime-commands | 10 --------- lsp_utils.sublime-settings | 14 ------------- sublime-package.json | 42 -------------------------------------- 3 files changed, 66 deletions(-) delete mode 100644 lsp_utils.sublime-commands delete mode 100644 lsp_utils.sublime-settings delete mode 100644 sublime-package.json diff --git a/lsp_utils.sublime-commands b/lsp_utils.sublime-commands deleted file mode 100644 index 4a75004..0000000 --- a/lsp_utils.sublime-commands +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "caption": "Preferences: LSP Utils Settings", - "command": "edit_settings", - "args": { - "base_file": "${packages}/lsp_utils/lsp_utils.sublime-settings", - "default": "// Settings in here override those in \"lsp_utils/lsp_utils.sublime-settings\"\n{\n\t$0\n}\n" - } - } -] diff --git a/lsp_utils.sublime-settings b/lsp_utils.sublime-settings deleted file mode 100644 index e5c26c3..0000000 --- a/lsp_utils.sublime-settings +++ /dev/null @@ -1,14 +0,0 @@ -{ - // Specifies the type and priority of the Node.js installation that should be used for Node.js-based servers. - // The allowed values are: - // - 'system' - a Node.js runtime found on the PATH - // - 'local' - a Node.js runtime managed by LSP that doesn't affect the system - // The order in which the values are specified determines which one is tried first, - // with the later one being used as a fallback. - // You can also specify just a single value to disable the fallback. - "nodejs_runtime": ["system", "local"], - // Uses Node.js runtime from the Electron package rather than the official distribution. This has the benefit of - // lower memory usage due to it having the pointer compression (https://v8.dev/blog/pointer-compression) enabled. - // Only relevant when using `local` variant of `nodejs_runtime`. - "local_use_electron": false, -} diff --git a/sublime-package.json b/sublime-package.json deleted file mode 100644 index f97a78c..0000000 --- a/sublime-package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "contributions": { - "settings": [ - { - "file_patterns": [ - "/lsp_utils.sublime-settings" - ], - "schema": { - "type": "object", - "properties": { - "nodejs_runtime": { - "type": "array", - "markdownDescription": "Specifies the type and priority of the Node.js installation that should be used for Node.js-based servers.\n\nThe allowed values are:\n\n- `system` - a Node.js runtime found on the PATH\n- `local` - a Node.js runtime managed by LSP that doesn't affect the system\n\nThe order in which the values are specified determines which one is tried first,\nwith the later one being used as a fallback.\nYou can also specify just a single value to disable the fallback.", - "default": [ - "system", - "local", - ], - "items": { - "type": "string", - "enum": [ - "system", - "local" - ], - "markdownEnumDescriptions": [ - "Node.js runtime found on the PATH", - "Node.js runtime managed by LSP" - ] - }, - "uniqueItems": true, - }, - "local_use_electron": { - "type": "boolean", - "default": false, - "markdownDescription": "Uses Node.js runtime from the Electron package rather than the official distribution. This has the benefit of lower memory usage due to it having the [pointer compression](https://v8.dev/blog/pointer-compression) enabled.\n\nOnly relevant when using `local` variant of `nodejs_runtime`." - } - }, - "additionalProperties": false, - } - } - ] - } -}