1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:20:06 +08:00

Fixed typescript installation issue (#4314)

This commit is contained in:
Andre S 2021-07-03 13:52:46 +00:00 committed by GitHub
parent cad4370889
commit 5b7535bf80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,11 @@ To use this configuration layer, update your custom configuration file with:
[[layers]]
name = "lang#typescript"
```
and also use npm to install neovim using:
```bash
npm install -g neovim
```
then in SpaceVim run `:UpdateRemotePlugin`
To generate doc of typescript file, you need to install [lehre](https://www.npmjs.com/package/lehre)
@ -35,6 +40,7 @@ To generate doc of typescript file, you need to install [lehre](https://www.npmj
yarn add -D lehre
```
## Layer options
- `typescript_server_path`: set the path of the tsserver.