Add the Terraform LSP config (#222)

This commit is contained in:
Alan Jenkins 2021-04-03 18:04:27 +01:00 committed by GitHub
parent a384a706af
commit b584ee8ee3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

4
lua/lsp/terraform-ls.lua Normal file
View file

@ -0,0 +1,4 @@
require'lspconfig'.terraformls.setup{
cmd = {DATA_PATH .. "/lspinstall/terraform/terraform-ls", "serve"},
on_attach = require'lsp'.common_on_attach
}