Pyrefly Language Server extension for coc.nvim.
To use this coc extension, the pyrefly command must exist in the execution environment.
CocInstall:
:CocInstall @yaegassy/coc-pyreflyscoped packages
e.g. vim-plug:
Plug 'yaegassy/coc-pyrefly', {'do': 'pnpm install'}pyrefly.enable: Enable coc-pyrefly extension, default:truepyrefly.lspPath: Custom path for thepyreflybinary. If no value is set, thepyreflycommand will be detected from the runtime environment, default:""pyrefly.lspArguments: Additional arguments that should be passed to the binary atpyrefly.lspPath, default:["lsp"]python.pyrefly.disableLanguageServices: If true, pyrefly will not provide other IDE services like completions, hover, definition, etc. To control type errors, seepython.pyrefly.displayTypeErrors, default:falsepython.pyrefly.displayTypeErrors: 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), valid option: [default,force-off,force-on,error-missing-imports], default:"default"python.pyrefly.disabledLanguageServices: Disable specific language services. Set individual services to true to disable them, See configuration inpackage.jsonpython.analysis.showHoverGoToLinks: Controls whether hover tooltips include 'Go to definition' and 'Go to type definition' navigation links, default:truepyrefly.trace.server: Traces the communication between coc.nvim and the pyrefly language server, default:"off"
pyrefly.showLogs: Show logspyrefly.restartClient: Restart Pyrefly Client
MIT