SpaceVim

A community-driven vim distribution


Home | About | Documentation | Development | Community | Sponsors


Available Layers » lang#typescript

Description

This layer is for TypeScript development, includding code completion, Syntax lint and doc generation.

Install

To use this configuration layer, update custom configuration file with:

[[layers]]
  name = "lang#typescript"

BTW, you need to install TypeScript via:

npm install -g typescript

Features

Layer configuration

typescript_server_path: set the path of the tsserver.

Key bindings

Key Bindings Descriptions
SPC l c type definition
SPC l d show documentation
SPC l e rename symbol
SPC l f code fix
SPC l g definition
SPC l i import
SPC l r references
SPC l s search
SPC l t type
SPC l g d generate doc
g d defintion preview

Hosted on GitHub, Help improve this page — Theme by mattgraham,