ruff server extension for coc.nvim
npm install @yaegassy/coc-ruffRuff Language Server extension for coc.nvim.

CocInstall:
``vim`
:CocInstall @yaegassy/coc-ruff
> scoped packages
e.g. vim-plug:
`vim`
Plug 'yaegassy/coc-ruff', {'do': 'yarn install --frozen-lockfile'}
- ruff.enable: Enable coc-ruff extension, default: trueruff.nativeServer
- : Use the integrated Rust-based language server, available now in Beta, default: trueruff.nativeBinaryPath
- : Custom path for the ruff binary when using the native server. If no value is set, the ruff command will be detected from the runtime environment, default: ""ruff.disableDocumentFormatting
- : Disable document formatting only, default: falseruff.disableHover
- : Disable hover only, default: falseruff.useDetectRuffCommand
- : Automatically detects the ruff command in the execution environment and sets ruff.path, default: trueruff.client.codeAction.showDocumantaion.enable
- : Whether to display the code action for open the Ruff rule documentation web page included in the diagnostic information, default: falseruff.trace.server
- : Traces the communication between coc.nvim and the ruff-lsp, default: "off"
Other settings have the same configuration as ruff-vscode.
- ruff.executeAutofix: Fix all auto-fixable problemsruff.executeFormat
- : Format documentruff.executeOrganizeImports
- : Format importsruff.debugInformation
- : Print debug information (native server only)ruff.showLogs
- : Show logsruff.restart`: Restart Server
-
- astral-sh/ruff
- astral-sh/ruff-vscode
MIT
---
> This extension is built with create-coc-extension