diff --git a/LSP-ruff.sublime-settings b/LSP-ruff.sublime-settings index b7f9741..a605c6e 100644 --- a/LSP-ruff.sublime-settings +++ b/LSP-ruff.sublime-settings @@ -1,10 +1,7 @@ { "initializationOptions": { - "settings": { - // same as globalSettings - }, // See https://docs.astral.sh/ruff/editors/settings/ - "globalSettings": { + "settings": { // Path to a ruff.toml or pyproject.toml file to use for configuration. // By default, Ruff will discover configuration for each project from the filesystem, mirroring the behavior of the Ruff CLI. "configuration": null, @@ -28,8 +25,6 @@ "lint.preview": null, // Sets the tracing level for the extension. "logLevel": "error", - // Setting to control when a notification is shown. - "showNotification": "off", // Whether to register Ruff as capable of handling source.organizeImports actions. "organizeImports": true, // Whether to register Ruff as capable of handling source.fixAll actions. diff --git a/sublime-package.json b/sublime-package.json index 92690b5..c655589 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -98,7 +98,8 @@ "showNotification": { "type": "string", "default": "off", - "description": "Setting to control when a notification is shown." + "description": "Setting to control when a notification is shown.", + "deprecationMessage": "This option only works in VS Code." }, "organizeImports": { "type": "boolean", @@ -128,9 +129,6 @@ "properties": { "settings": { "$ref": "sublime://settings/LSP-ruff#/definitions/LspRuffSettings", - }, - "globalSettings": { - "$ref": "sublime://settings/LSP-ruff#/definitions/LspRuffSettings", } } }