mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-14 11:24:43 +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{
|
||||
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