Back to Extensions Directory
Read the complete README
@yaegassy/coc-ty
yaegassycoc.nvim extension with support for the ty type checker and language server.
Installation CommandVim prompt
:CocInstall @yaegassy/coc-ty
GitHub owner
yaegassyVersion
v0.3.2npm package
@yaegassy/coc-tyRequirements
coc ^0.0.80
License
MIT
Repository
GitHubnpm latest published 2026-02-10Registry checked 2026-08-23Registry summary
Published Package Summary
coc-ty
ty language server extension for coc.nvim.
Install
CocInstall:
:CocInstall @yaegassy/coc-ty
scoped packages
e.g. vim-plug:
Plug 'yaegassy/coc-ty', {'do': 'yarn install --frozen-lockfile'}
Thanks
License
MIT
This extension is built with create-coc-extension
- coc.nvim extension with support for the ty type checker and language server.
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-ty@0.3.2.
| Command (:CocCommand) | Description |
|---|---|
| ty.showLogs | Show logs |
| ty.restart | Restart Server |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
ty.pathstring
Custom path for the `ty` binary when using the native server. If no value is set, the `ty` command will be detected from the runtime environment.
Default: ""
Raw JSON Schema
{
"type": "string",
"default": "",
"description": "Custom path for the `ty` binary when using the native server. If no value is set, the `ty` command will be detected from the runtime environment."
}ty.enableboolean
Enable coc-ty extension
Default: true
Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "Enable coc-ty extension"
}ty.logFilestring
Path to the log file for the language server.
Default: null
Raw JSON Schema
{
"type": "string",
"default": null,
"markdownDescription": "Path to the log file for the language server."
}ty.logLevelstring
Controls the log level of the language server.
Default: null
Raw JSON Schema
{
"enum": [
"error",
"warning",
"info",
"debug",
"trace"
],
"type": "string",
"scope": "application",
"default": null,
"markdownDescription": "Controls the log level of the language server."
}ty.interpreterarray
Path to a Python interpreter to use to find the `ty` executable.
Default: []
Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"scope": "resource",
"default": [],
"markdownDescription": "Path to a Python interpreter to use to find the `ty` executable."
}ty.disableHoverboolean
Disable hover only.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Disable hover only."
}ty.trace.serverstring
Traces the communication between coc.nvim and the ty server.
Default: "off"
Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"default": "off",
"description": "Traces the communication between coc.nvim and the ty server."
}ty.configurationobject
Inline JSON configuration for ty settings. Overrides settings in a configuration file. For example
```json
{
"rules": {
"unresolved-reference": "ignore"
}
}
```
Default: null
Raw JSON Schema
{
"type": "object",
"scope": "window",
"default": null,
"markdownDescription": "Inline JSON configuration for ty settings. Overrides settings in a configuration file. For example\n\n```json\n{\n \"rules\": {\n \"unresolved-reference\": \"ignore\"\n }\n}\n``` "
}ty.diagnosticModestring
Analysis scope for showing diagnostics.
Default: "openFilesOnly"
Raw JSON Schema
{
"enum": [
"openFilesOnly",
"workspace",
"off"
],
"type": "string",
"scope": "resource",
"default": "openFilesOnly",
"enumDescriptions": [
"Analyzes and reports errors on only open files.",
"Analyzes and reports errors on all files in the workspace.",
"Turn all diagnostics off. Use ty as a language server only."
],
"markdownDescription": "Analysis scope for showing diagnostics."
}ty.importStrategystring
Strategy for loading the `ty` executable. `fromEnvironment` picks up ty from the environment, falling back to the bundled version if needed. `useBundled` uses the version bundled with the extension.
Default: "fromEnvironment"
Raw JSON Schema
{
"enum": [
"fromEnvironment",
"useBundled"
],
"type": "string",
"scope": "window",
"default": "fromEnvironment",
"enumDescriptions": [
"Use `ty` from environment, fallback to bundled version only if `ty` not available in the environment.",
"Always use the bundled version of `ty`."
],
"markdownDescription": "Strategy for loading the `ty` executable. `fromEnvironment` picks up ty from the environment, falling back to the bundled version if needed. `useBundled` uses the version bundled with the extension."
}ty.disableInlayHintboolean
Disable inlayHint only.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Disable inlayHint only."
}ty.showSyntaxErrorsboolean
Whether to show syntax error diagnostics.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "window",
"default": true,
"markdownDescription": "Whether to show syntax error diagnostics."
}ty.configurationFilestring
Path to a `ty.toml` configuration file.
Default: null
Raw JSON Schema
{
"type": "string",
"scope": "resource",
"default": null,
"markdownDescription": "Path to a `ty.toml` configuration file."
}ty.disableCompletionboolean
Disable completion only.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Disable completion only."
}ty.disableDiagnosticsboolean
Disable diagnostics only.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Disable diagnostics only."
}ty.disableTypeDefinitionboolean
Disable typeDefinition only.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Disable typeDefinition only."
}ty.completions.autoImportboolean
Whether to include auto-import code completions in ty.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Whether to include auto-import code completions in ty."
}ty.inlayHints.variableTypesboolean
Whether to enable inlay hints for variable types.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Whether to enable inlay hints for variable types."
}ty.inlayHints.callArgumentNamesboolean
Whether to enable inlay hints for call argument names.
Default: true
Raw JSON Schema
{
"type": "boolean",
"scope": "resource",
"default": true,
"markdownDescription": "Whether to enable inlay hints for call argument names."
}