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

coc-toml

kkiyama117

toml extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-toml
GitHub owner
kkiyama117
Version
v2.1.0
npm package
coc-toml
Requirements
coc ^0.0.82
License
MIT
Repository
GitHub
npm latest published 2026-05-13Registry checked 2026-08-23Registry summary

Published Package Summary

coc-toml

TOML language server extension for coc.nvim.

Powered by Tombi.

Breaking Changes in v2.0

v2.0 is a complete rewrite with the following breaking changes:

Language Server: Taplo → Tombi

The underlying language server has been replaced from Taplo to Tombi. Tombi runs as a native binary (tombi lsp) — WASM is no longer used.

The tombi binary is automatically downloaded when the extension activates. You can also specify a custom path via tombi.path setting.

Install

Prerequisites

:CocInstall coc-toml

Or via plugin manager (e.g., dein.vim):

[[plugins]]
repo    = 'kkiyama117/coc-toml'
depends = 'coc.nvim'

Features

  • Formatting and linting for TOML files
  • Completion with schema validation
  • Go-to-definition and hover
  • Diagnostics
  • Schema association

Develop

pnpm install --frozen-lockfile
pnpm build

Testing

Smoke tests run inside a container so they are reproducible across hosts. Both Docker and Podman work — the pnpm docker:* scripts use the docker CLI name, and Podman ships a docker alias by default.

# Build the image and run every scenario (build check + all fixtures).
pnpm test

# Or step through pieces:
pnpm docker:build                # build the test image
pnpm docker:test                 # build artifact + tombi binary check
pnpm docker:test:all             # all scenarios

# Interactive shell / nvim inside the image:
pnpm docker:shell
pnpm docker:nvim

A docker/compose.yaml is also provided for docker compose / podman compose users — see pnpm compose:test, compose:test:all, compose:shell, and compose:nvim.

License

MIT.

Dependencies

Read the complete README
  • toml extension for coc.nvim
Activation Events
  • onLanguage:toml
  • onLanguage:cargoLock
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.