Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 497 Bytes

vim.md

File metadata and controls

26 lines (18 loc) · 497 Bytes

Vim Support

CoC

terraform-lsp can be used with CoC.

Requirements

Install the terraform-lsp binary and verify it's available in your $PATH.

Installation

Go to your coc-settings.json file (you can use the following command in Vim: :CocConfig).

Add an entry for the terraform language server.

{
  "languageserver": {
    "terraform": {
      "command": "terraform-lsp",
      "filetypes": ["terraform"]
    }
  }
}