Back to Extensions Directory
Read the complete README
@yaegassy/coc-pyrefly
yaegassypyrefly language server extension for coc.nvim
Installation CommandVim prompt
:CocInstall @yaegassy/coc-pyrefly
GitHub owner
yaegassyVersion
v0.1.1npm package
@yaegassy/coc-pyreflyRequirements
coc ^0.0.82
License
MIT
Repository
GitHubnpm latest published 2025-12-08Registry checked 2026-08-23Registry summary
Published Package Summary
coc-pyrefly
Pyrefly Language Server extension for coc.nvim.
Usage
To use this coc extension, the pyrefly command must exist in the execution environment.
Install
CocInstall:
:CocInstall @yaegassy/coc-pyrefly
scoped packages
e.g. vim-plug:
Plug 'yaegassy/coc-pyrefly', {'do': 'pnpm install'}
Thanks
License
MIT
- pyrefly language server extension for coc.nvim
Activation Events
- onLanguage:python
Developer Resources
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for @yaegassy/coc-pyrefly@0.1.1.
| Command (:CocCommand) | Description |
|---|---|
| pyrefly.showLogs | Show logs |
| pyrefly.restartClient | Restart Pyrefly Client |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
pyrefly.enableboolean
Enable coc-pyrefly extension
Default: true
Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "Enable coc-pyrefly extension"
}pyrefly.lspPathstring
Custom path for the `pyrefly` binary. If no value is set, the `pyrefly` command will be detected from the runtime environment
Default: ""
Raw JSON Schema
{
"type": "string",
"default": "",
"description": "Custom path for the `pyrefly` binary. If no value is set, the `pyrefly` command will be detected from the runtime environment"
}pyrefly.lspArgumentsarray
Additional arguments that should be passed to the binary at pyrefly.lspPath
Default: ["lsp"]
Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"default": [
"lsp"
],
"description": "Additional arguments that should be passed to the binary at pyrefly.lspPath"
}pyrefly.trace.serverstring
Traces the communication between coc.nvim and the pyrefly server.
Default: "off"
Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"default": "off",
"description": "Traces the communication between coc.nvim and the pyrefly server."
}python.pyrefly.displayTypeErrorsstring
If 'default', Pyrefly will only provide type check squiggles in the IDE if your file is covered by a Pyrefly configuration. If 'force-off', Pyrefly will never provide type check squiggles in the IDE. If 'force-on', Pyrefly will always provide type check squiggles in the IDE. If 'error-missing-imports', Pyrefly will only show errors for missing imports and missing sources (missing-import, missing-source, and missing-source-for-stubs).
Default: "default"
Raw JSON Schema
{
"enum": [
"default",
"force-on",
"force-off",
"error-missing-imports"
],
"type": "string",
"default": "default",
"description": "If 'default', Pyrefly will only provide type check squiggles in the IDE if your file is covered by a Pyrefly configuration. If 'force-off', Pyrefly will never provide type check squiggles in the IDE. If 'force-on', Pyrefly will always provide type check squiggles in the IDE. If 'error-missing-imports', Pyrefly will only show errors for missing imports and missing sources (missing-import, missing-source, and missing-source-for-stubs)."
}python.analysis.showHoverGoToLinksboolean
Controls whether hover tooltips include 'Go to definition' and 'Go to type definition' navigation links.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Controls whether hover tooltips include 'Go to definition' and 'Go to type definition' navigation links."
}python.pyrefly.disableLanguageServicesboolean
If true, pyrefly will not provide other IDE services like completions, hover, definition, etc. To control type errors, see `python.pyrefly.displayTypeErrors`
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "If true, pyrefly will not provide other IDE services like completions, hover, definition, etc. To control type errors, see `python.pyrefly.displayTypeErrors`"
}python.pyrefly.disabledLanguageServicesobject
Disable specific language services. Set individual services to true to disable them.
Default: {}
Raw JSON Schema
{
"type": "object",
"default": {},
"properties": {
"hover": {
"type": "boolean",
"default": false
},
"rename": {
"type": "boolean",
"default": false
},
"codeLens": {
"type": "boolean",
"default": false
},
"inlayHint": {
"type": "boolean",
"default": false
},
"codeAction": {
"type": "boolean",
"default": false
},
"completion": {
"type": "boolean",
"default": false
},
"definition": {
"type": "boolean",
"default": false
},
"references": {
"type": "boolean",
"default": false
},
"declaration": {
"type": "boolean",
"default": false
},
"signatureHelp": {
"type": "boolean",
"default": false
},
"documentSymbol": {
"type": "boolean",
"default": false
},
"implementation": {
"type": "boolean",
"default": false
},
"semanticTokens": {
"type": "boolean",
"default": false
},
"typeDefinition": {
"type": "boolean",
"default": false
},
"workspaceSymbol": {
"type": "boolean",
"default": false
},
"documentHighlight": {
"type": "boolean",
"default": false
}
},
"description": "Disable specific language services. Set individual services to true to disable them."
}