juliosueiras / vim-terraform-completion

A (Neo)Vim Autocompletion and linter for Terraform, a HashiCorp tool
MIT License
336 stars 24 forks source link

Undeclared variable syntax highlight #40

Closed sebiwi closed 6 years ago

sebiwi commented 6 years ago

Hi,

This is rather a feature request. I don't even know if this is possible, or if it represents a lot of work.

It would be great to have syntax highlighting for variables that are not defined. For example, when using intelliJ and you rename a certain resource, all of the variable references that are no longer valid are highlighted in red.

This would be awesome to have. Thanks!

juliosueiras commented 6 years ago

is this ok?

asciicast

sebiwi commented 6 years ago

Yes, that's! perfect! Assuming that the variables stop being red once they are properly declared, then that's exactly what I wanted!

I'm wondering if you need syntastic in order to make this work? If the answer is yes, it would be great to have the same features using ALE.

Thanks again for the quick responses and the amazing plugin!

juliosueiras commented 6 years ago

close for now, started on integration for ALE