From 97f298a43b52298c652b20c7ecbaed3467c1e5c8 Mon Sep 17 00:00:00 2001 From: Andreas Lutro Date: Mon, 1 Jul 2024 14:28:34 +0200 Subject: [PATCH] replace anaconda --- .../sublime-text/LSP-pylsp.sublime-settings | 26 +++++++++++++++++++ .../Package Control.sublime-settings | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 configs/sublime-text/LSP-pylsp.sublime-settings diff --git a/configs/sublime-text/LSP-pylsp.sublime-settings b/configs/sublime-text/LSP-pylsp.sublime-settings new file mode 100644 index 0000000..3b972a2 --- /dev/null +++ b/configs/sublime-text/LSP-pylsp.sublime-settings @@ -0,0 +1,26 @@ +// Settings in here override those in "LSP-pylsp/LSP-pylsp.sublime-settings" + +{ + "settings": { + // --- Linters -------------------------------------------------------- + // Configuration is computed first from user configuration (in home directory), + // overridden by configuration passed in by the language client, + // and then overridden by configuration discovered in the workspace. + // + // The default configuration source is pycodestyle, because the default + // linter is pycodestyle. If instead you want to use flake8, you must + // change "pylsp.configurationSources" to ["flake8"], and you must + // enable the flake8 plugin (see below), and you must disable the + // pycodestyle plugin (see below). + // By default, pycodestyle is enabled + "pylsp.configurationSources": ["pycodestyle"], + "pylsp.plugins.flake8.enabled": true, + "pylsp.plugins.pycodestyle.enabled": false, + "pylsp.plugins.pydocstyle.enabled": false, + "pylsp.plugins.pyflakes.enabled": true, + "pylsp.plugins.pylint.enabled": true, + "pylsp.plugins.pylsp_mypy.enabled": false, + // When enabling, it's recommended to disable `flake8`, `pycodestyle`, `pyflakes`, `mccabe` and `pyls_isort` plugins. + "pylsp.plugins.ruff.enabled": false, + } +} diff --git a/configs/sublime-text/Package Control.sublime-settings b/configs/sublime-text/Package Control.sublime-settings index 5f7aef4..53714ae 100644 --- a/configs/sublime-text/Package Control.sublime-settings +++ b/configs/sublime-text/Package Control.sublime-settings @@ -10,12 +10,13 @@ ], "installed_packages": [ - "Anaconda", "Dockerfile Syntax Highlighting", "Earthly Earthfile", "Elixir", "InsertDate", "Jinja2", + "LSP", + "LSP-pylsp", "Package Control", "Rust Enhanced", "Terraform",