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

coc-html

Neoclide

Html extension for coc.nvim

Installation CommandVim prompt
:CocInstall coc-html
GitHub owner
Neoclide
Version
v1.8.0
npm package
coc-html
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2022-11-03Registry checked 2026-08-23Registry summary

Published Package Summary

coc-html

Html language server extension for coc.nvim.

Code changed from html extension of VSCode

Supporting

If you like this extension, consider supporting me on Patreon or PayPal:

Patreon donate button PayPal donate button

Install

In your vim/neovim, run command:

:CocInstall coc-html

Features

  • Completion provider
  • Formatting
  • Document Symbols & Highlights
  • Document Links
  • CSS mode
  • Javascript mode

F.A.Q

Q: I can't select the complete item by <C-n> and <C-p>

A: Some completion item requires insert position after current cursor position which is invalid for <C-n> and <C-p> on vim, you can use <up> and <down> key for selection, or use api coc#_select_confirm() to select and confirm selection which is recommended.

License

MIT

Read the complete README
  • Html extension for coc.nvim
Activation Events
  • *
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

Published with coc-html@1.8.0 as history.md.

Open source file

1.8.0

  • Remove configuration html.format.endWithNewline>
  • Remove configuration html.validate.html.
  • Remove configuration html.enable.
  • Check format configuration before register formatter provider.