juliosueiras / terraform-lsp

Language Server Protocol for Terraform
MIT License
579 stars 37 forks source link

Resource type completion only works without quotes #72

Open bilco105 opened 4 years ago

bilco105 commented 4 years ago

Hiya,

As reported in #27, I'm seeing the same behaviour where resource autocompletion for AWS services only works when not using quotes.

For example;

resource "aws_s3_bucket" "test" {}

This doesn't provide any autocompletion of the resource type, however, completion for the attributes within the resource work fine, i.e. "acl", "policy", etc.

If I define the resource without quotes, then I get the full list of AWS provider resources.

This is with coc.nvim on NeoVim