1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00
SpaceVim/docs/layers/lang/html.md
2018-01-19 20:49:01 +08:00

1.2 KiB

title description
SpaceVim lang#html layer Edit html in SpaceVim, with this layer, this layer provides code completion, syntax checking and code formatting for html.

SpaceVim Layers: lang#html

Description

This layer adds support for editing HTML and CSS.

Layer Installation

To use this configuration layer, add call SpaceVim#layers#load('lang#html') to your custom configuration file.

Language server

To install the language server, you need npm on your machine:

npm install --global vscode-html-languageserver-bin

Features

  • Generate HTML and CSS coding using neosnippet and emmet-vim
  • Tags navigation on key % using matchit.vim
  • auto-completion
  • syntax checking
  • language server protocol (need lsp layer)

Key bindings

key bindings Description
<C-e> emmet prefix