nix-templates/home/dev/doom.d/modules/tools/terraform-plus/init.el
2025-06-25 01:35:01 -04:00

23 lines
675 B
EmacsLisp

;;; tools/terraform-plus/init.el -*- lexical-binding: t; -*-
;;; Mode
;; (define-derived-mode terraform-plus-section-mode special-mode "Terraform-Plus-Sections"
;; "Parent major mode that terraform-plus-like sections inherit"
;; (buffer-disable-undo)
;; (setq truncate-lines t)
;; (setq buffer-read-only t)
;; (setq show-trailing-whitespace nil))
;; (defvar terraform-plus-section-mode-map
;; (let ((map (make-keymap)))
;; (suppress-keymap map t)
;; (define-key map (kbd "TAB") 'terraform-plus-section-toggle)
;; map))
;;; Visibility
;; (defun terraform-plus-section-toggle (section)
;; "Toggle the visibility of the current section"
;; ())