https://github.com/yaegassy/coc-ty
ty language server extension for coc.nvim
https://github.com/yaegassy/coc-ty
coc coc-extensions coc-nvim coc-ty neovim python python3 ty vim
Last synced: about 1 year ago
JSON representation
ty language server extension for coc.nvim
- Host: GitHub
- URL: https://github.com/yaegassy/coc-ty
- Owner: yaegassy
- License: mit
- Created: 2025-05-25T03:22:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-25T16:32:28.000Z (about 1 year ago)
- Last Synced: 2025-06-13T09:06:09.141Z (about 1 year ago)
- Topics: coc, coc-extensions, coc-nvim, coc-ty, neovim, python, python3, ty, vim
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@yaegassy/coc-ty
- Size: 40 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coc-ty
[ty](https://github.com/astral-sh/ty) language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).
## Install
**CocInstall**:
```vim
:CocInstall @yaegassy/coc-ty
```
> scoped packages
**e.g. vim-plug**:
```vim
Plug 'yaegassy/coc-ty', {'do': 'yarn install --frozen-lockfile'}
```
## Configuration options
- `ty.enable`: Enable coc-ty extension, default: `true`
- `ty.disableDiagnostics`: Disable diagnostics only, default: `false`
- `ty.disableHover`: Disable hover only, default: `false`
- `ty.disableInlayHint`: Disable inlayHint only, default: `false`
- `ty.disableTypeDefinition`: Disable typeDefinition only, default: `false`
- `ty.useDetectTyCommand`: Automatically detects the ty command in the execution environment and sets `ty.path`, default: `true`
- `ty.binaryPath`: Custom path for the `ty` binary. If no value is set, the `ty` command will be detected from the runtime environment, , default: `""`
- `ty.trace.server`: Traces the communication between coc.nvim and the ty language server, default: `"off"`
Other settings have the same configuration as [ty-vscode](https://github.com/astral-sh/ty-vscode).
## Commands
- `ty.showLogs`: Show logs
- `ty.restart`: Restart Server
## Thanks
- [astral-sh/ty](https://github.com/astral-sh/ty)
- [astral-sh/ty-vscode](https://github.com/astral-sh/ty-vscode)
## License
MIT
---
> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)