From 6155ec231777feb59ce27b5e8689c4f317895d0d Mon Sep 17 00:00:00 2001 From: hork71 Date: Sun, 7 Jun 2020 13:52:53 +0200 Subject: docs: vim/neovim settings for editors (#6064) --- docs/getting_started/setup_your_environment.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'docs/getting_started') diff --git a/docs/getting_started/setup_your_environment.md b/docs/getting_started/setup_your_environment.md index 8baa13dd5..3c115354a 100644 --- a/docs/getting_started/setup_your_environment.md +++ b/docs/getting_started/setup_your_environment.md @@ -65,9 +65,13 @@ on YouTrack. Vim works fairly well for Deno/TypeScript if you install [CoC](https://github.com/neoclide/coc.nvim) (intellisense engine and language -server protocol). After CoC itself is installed, from inside Vim, simply run -`:CocInstall coc-deno`. From now on, things like `gd` (go to definition) and -`gr` (goto/find references) should work. +server protocol). + +After CoC is installed, from inside Vim, run`:CocInstall coc-tsserver` and +`:CocInstall coc-deno`. To get autocompletion working for Deno type definitions +run `:CocCommand deno.types`. Optionally restart the CoC server `:CocRestart`. +From now on, things like `gd` (go to definition) and `gr` (goto/find references) +should work. #### Emacs -- cgit v1.2.3