Package Exports
- @yaegassy/coc-ruff
- @yaegassy/coc-ruff/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yaegassy/coc-ruff) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
coc-ruff
Ruff Language Server extension for coc.nvim.

Install
CocInstall:
:CocInstall @yaegassy/coc-ruff
scoped packages
e.g. vim-plug:
Plug 'yaegassy/coc-ruff', {'do': 'yarn install --frozen-lockfile'}
Configuration options
ruff.enable
: Enable coc-ruff extension, default:true
ruff.nativeServer
: Use the integrated Rust-based language server, available now in Beta, default:true
ruff.nativeBinaryPath
: Custom path for theruff
binary when using the native server. If no value is set, theruff
command will be detected from the runtime environment, default:""
ruff.disableDocumentFormatting
: Disable document formatting only, default:false
ruff.disableHover
: Disable hover only, default:false
ruff.useDetectRuffCommand
: Automatically detects the ruff command in the execution environment and setsruff.path
, default:true
ruff.client.codeAction.showDocumantaion.enable
: Whether to display the code action for open the Ruff rule documentation web page included in the diagnostic information, default:false
ruff.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