Skip to content

Commit

Permalink
Merge pull request #87 from braybaut/feature/coc-nvim
Browse files Browse the repository at this point in the history
coc-nvim documentation
  • Loading branch information
juliosueiras authored Aug 10, 2020
2 parents 0f374a5 + 28a2759 commit f86469a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/editors/vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,24 @@
Todo: add config snippets

- Should work with all LSP plugin on vim

### coc.nvim

- Install the [coc.nvim plugin](https://github.com/neoclide/coc.nvim)
- Add the following snippet to the `coc-setting.json` file (editable via `:CocConfig` in NeoVim)

```json
{
"languageserver": {
"terraform": {
"command": "terraform-lsp",
"filetypes": [
"terraform",
"tf"
],
"initializationOptions": {},
"settings": {}
}
}
}
```

0 comments on commit f86469a

Please # to comment.