Coc.nvim: terrafrom language server

Created on 1 Apr 2019  ·  3Comments  ·  Source: neoclide/coc.nvim

Hi, I was wondering if you are planning to support terraform autocompletion.

Most helpful comment

For future reference, it's easy to configure terraform-lsp to work with coc.nvim.

You can simply include the following setting to your coc-settings.json after installing terraform-lsp and adding it to you PATH. (alternatively, you can set the command key to the full path of the executable)

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

All 3 comments

No, but if it's language server of LSP, you can configure coc.nvim to use it.

For future reference, it's easy to configure terraform-lsp to work with coc.nvim.

You can simply include the following setting to your coc-settings.json after installing terraform-lsp and adding it to you PATH. (alternatively, you can set the command key to the full path of the executable)

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

Consider add it to wiki page

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chemzqm picture chemzqm  ·  3Comments

LinArcX picture LinArcX  ·  4Comments

MaskRay picture MaskRay  ·  3Comments

marene picture marene  ·  3Comments

iago-lito picture iago-lito  ·  3Comments