]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Use json-ts-mode for TF state files
authorEshel Yaron <me@eshelyaron.com>
Fri, 14 Apr 2023 08:36:14 +0000 (11:36 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 14 Apr 2023 08:36:14 +0000 (11:36 +0300)
.emacs.d/init.el

index b36316640299238177f17705bbb10cd052596965..5115a62e02a89bef402edd13b4b4ba9eb8f34c7f 100644 (file)
@@ -948,6 +948,7 @@ as the initial input for completion, and return that directory."
   (dolist (cell '(("Dockerfile"  . dockerfile-ts-mode)
                   ("\\.ya?ml\\'" . yaml-ts-mode)
                   ("\\.json\\'"  . json-ts-mode)
+                  ("\\.tfstate\\'"  . json-ts-mode)
                   ("\\.ts\\'"    . typescript-ts-mode)
                   ("\\.rb\\'"    . ruby-ts-mode)
                   ("\\.rs\\'"    . rust-ts-mode)