Skip to content

Commit

Permalink
docs: vim/neovim settings for editors (denoland#6064)
Browse files Browse the repository at this point in the history
  • Loading branch information
hork71 committed Jun 7, 2020
1 parent 09ee9a8 commit 6155ec2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/getting_started/setup_your_environment.md
Expand Up @@ -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

Expand Down

0 comments on commit 6155ec2

Please sign in to comment.