Skip to content

Commit

Permalink
fix: fix use of wrong variable to initialize config enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
martinal authored and maerteijn committed Sep 24, 2023
1 parent 83c658b commit 926f50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylsp_ruff/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def load_settings(workspace: Workspace, document_path: str) -> PluginSettings:
log.debug("Found existing configuration for ruff, skipping pylsp config.")
# Leave config to pyproject.toml
return PluginSettings(
enabled=plugin_settings.executable,
enabled=plugin_settings.enabled,
executable=plugin_settings.executable,
extend_ignore=plugin_settings.extend_ignore,
extend_select=plugin_settings.extend_select,
Expand Down

0 comments on commit 926f50d

Please sign in to comment.