Skip to main content
Back to Extensions Directory
coc.nvim fallback icon

@yaegassy/coc-mypy

yaegassy

microsoft/vscode-mypy’s language server extension for coc.nvim.

Installation CommandVim prompt
:CocInstall @yaegassy/coc-mypy
GitHub owner
yaegassy
Version
v0.2.1
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2026-06-20Registry checked 2026-08-23Registry summary

Published Package Summary

coc-mypy

microsoft/vscode-mypy's langauge server extension for coc.nvim.

Install

CocInstall:

:CocInstall @yaegassy/coc-mypy

When using a plugin manager, etc:

e.g. vim-plug

Plug 'yaegassy/coc-mypy', {'do': 'yarn install --frozen-lockfile'}

Server Install

coc-mypy allows you to create an extension-only "venv" and install microsoft/vscode-mypy's langauge server.

When using coc-mypy for the first time, if microsoft/vscode-mypy's langauge server is not present in the runtime environment, you will be prompted to do a built-in install.

To use the built-in installation feature, execute the following command.

:CocCommand mypy-type-checker.installServer

Note

Use "dmypy" or "mypy"

The microsoft/vscode-mypy language server uses dmypy by default. If you want to use mypy, set mypy-type-checker.useDmypy to false.

coc-settings.json:

{
  "mypy-type-checker.useDmypy": false
}

[Use dmypy] Vim/Neovim will exit a little slower

If you are using dmypy, the process of killing the dmypy process is included when Vim/Neovim exits. This may slow down the Vim/Neovim exit process slightly.

[Use mypy] Initial Diagnostic Display

The mypy command takes time to complete execution if the cache file for mypy does not exist. In other words, the first time it is executed, it takes time.

The same is true if you are using a language server, so it will take some time to display the initial diagnostics.

Thanks

License

MIT


This extension is built with create-coc-extension

Read the complete README
  • microsoft/vscode-mypy’s 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 Guide

Version 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.