Skip to content

Terraform tfvars files incorrect filetype #869

@Podesta

Description

@Podesta

Does this bug happen when you install plugin without vim-polyglot?
no

Describe the bug:
Vim polyglot sets *.tfvats files as filetype terraform, which is incorrect. Terraform filetype is for *.tf files. Tfvars files have their own filetype, so they can be properly processed, which is terraform-vars.
Refer to: hashicorp/terraform-ls#1838

To Reproduce:
Install vim-polyglot and use a terraform lsp, like terraform-ls

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions