Skip to content

Commit

Permalink
Merge pull request #71 from dotemacs/feature/opentofu-suffix
Browse files Browse the repository at this point in the history
Added support for .tofu suffix for OpenTofu
  • Loading branch information
Fuco1 authored Jul 29, 2024
2 parents a645c32 + 4b17413 commit bd59e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ If the point is not at the heading, call
(imenu-add-to-menubar "Terraform"))

;;;###autoload
(add-to-list 'auto-mode-alist '("\\.tf\\(vars\\)?\\'" . terraform-mode))
(add-to-list 'auto-mode-alist '(".\\(tf\\(vars\\)?\\|tofu\\)'". terraform-mode))

(provide 'terraform-mode)

Expand Down

0 comments on commit bd59e4c

Please sign in to comment.