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

@yaegassy/coc-black-formatter

yaegassy

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

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

Published Package Summary

coc-black-formatter

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

Install

CocInstall:

:CocInstall @yaegassy/coc-black-formatter

When using a plugin manager, etc:

e.g. vim-plug

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

Server Install

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

When using coc-black-formatter for the first time, if microsoft/vscode-black-formatter'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 black-formatter.installServer

Note

When used with other coc-extensions for python that provide formatting feature

For example, coc-pyright provides a formatting feature.

If coc-black-formatter and coc-pyright are used together, the coc-pyright formatting feature should be disabled.

coc-settings.json:

{
  "python.formatting.provider": "none",
}

Thanks

License

MIT


This extension is built with create-coc-extension

Read the complete README
  • microsoft/vscode-black-formatter’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.