@yaegassy/coc-ruff
v0.8.1
Published
ruff server extension for coc.nvim
Maintainers
Readme
coc-ruff
Ruff Language Server extension for coc.nvim.
Install
CocInstall:
:CocInstall @yaegassy/coc-ruffscoped packages
e.g. vim-plug:
Plug 'yaegassy/coc-ruff', {'do': 'yarn install --frozen-lockfile'}Configuration options
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 theruffbinary when using the native server. If no value is set, theruffcommand 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 setsruff.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.
Commands
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
Thanks
License
MIT
This extension is built with create-coc-extension
