mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 19:34:40 +02:00
Add file types to terraform language server config (#467)
This commit is contained in:
parent
3eee6dc3fd
commit
bbe0f78c28
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
require'lspconfig'.terraformls.setup{
|
require'lspconfig'.terraformls.setup{
|
||||||
cmd = {DATA_PATH .. "/lspinstall/terraform/terraform-ls", "serve"},
|
cmd = {DATA_PATH .. "/lspinstall/terraform/terraform-ls", "serve"},
|
||||||
on_attach = require'lsp'.common_on_attach
|
on_attach = require'lsp'.common_on_attach,
|
||||||
|
filetypes = { "tf", "terraform", "hcl" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue