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

coc-esbonio

yaegassy

esbonio ([Sphinx] Python Documentation Generator) language server extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-esbonio
GitHub owner
yaegassy
Version
v0.14.4
npm package
coc-esbonio
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2024-01-12Registry checked 2026-08-23Registry summary

Published Package Summary

coc-esbonio

esbonio ([Sphinx] Python Documentation Generator) language server extension for coc.nvim

coc-esbonio-demo

Features

Install

CocInstall:

:CocInstall coc-esbonio

vim-plug:

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

Detect: esbonio

  1. esbonio.server.pythonPath setting
  2. Current python3 environment (e.g. venv or system global)
  3. builtin venv/bin/python or venv/Scripts/python.exe (Installation commands are also provided)

Bult-in install

coc-esbonio allows you to create an extension-only "venv" and install "esbonio".

The first time you use coc-esbonio, if esbonio is not detected, you will be prompted to do a built-in installation.

You can also run the installation command manually.

:CocCommand esbonio.languageServer.install

TIPS

esbonio's language server can also handle python file docstrings. coc-esbonio will activate the extension when the rst file is opened. If you want coc-esbonio to work with python file as well, you must first open the rst file.

Code Actions

Example key mapping (Code Action related):

nmap <silent> ga <Plug>(coc-codeaction-line)
xmap <silent> ga <Plug>(coc-codeaction-selected)
nmap <silent> <leader>a <Plug>(coc-codeaction-cursor)

Actions:

  • Section builder (level1)
  • Section builder (level2)
  • Section builder (level3)
  • Insert Link (cursol)
  • Insert Inline Link (cursol)
  • Insert Link (selected)
  • Insert Inline Link (selected)

Thanks

License

MIT


This extension is built with create-coc-extension

Read the complete README
  • esbonio ([Sphinx] Python Documentation Generator) language server extension for coc.nvim
Activation Events
  • onLanguage:rst
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.