LunarVim/ftplugin/tf.lua

6 lines
204 B
Lua
Raw Normal View History

2021-04-03 19:04:27 +02:00
require'lspconfig'.terraformls.setup{
cmd = {DATA_PATH .. "/lspinstall/terraform/terraform-ls", "serve"},
on_attach = require'lsp'.common_on_attach,
filetypes = { "tf", "terraform", "hcl" }
2021-04-03 19:04:27 +02:00
}