Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Really add .tofu suffix #72

Merged

Conversation

dotemacs
Copy link
Contributor

With the previous change #71 the leading dot was not escaped and this broke the terraform-mode (since it wouldn't automatically autoload it for .tf(vars)? files, but it also wouldn't work for .tofu files either).

So this is a bug fix.

With the previous change the leading dot was not escaped and this
broke the terraform-mode (since it wouldn't automatically autoload it
for .tf(vars)? files, but it also wouldn't work for .tofu files
either).

So this is a bug fix.
@Fuco1 Fuco1 merged commit abfc10f into hcl-emacs:master Aug 1, 2024
0 of 3 checks passed
@Fuco1
Copy link
Collaborator

Fuco1 commented Aug 1, 2024

I wonder why though since the regex dot should also match, well, a dot. Why would it not work then? :O

@dotemacs
Copy link
Contributor Author

dotemacs commented Aug 1, 2024

I wonder why though since the regex dot should also match, well, a dot. Why would it not work then? :O

I didn't dig into it, but with the previous config, when I opened files with .tf or .tofu suffixes, terraform-mode wouldn't turn on automagically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants