From c533545d159497b2ed6762b3af37d6f8808ad440 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 16 Oct 2024 20:55:47 +0200 Subject: Add page breaks --- gsp-ts-mode.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gsp-ts-mode.el b/gsp-ts-mode.el index 3a881d8..8650452 100644 --- a/gsp-ts-mode.el +++ b/gsp-ts-mode.el @@ -32,6 +32,9 @@ ;;;###autoload (add-to-list 'auto-mode-alist '("\\.gsp\\'" . gsp-ts-mode)) + +;;; Variables and Options + (defcustom gsp-ts-mode-indent-offset 2 "Number of spaces for each indentation step in `gsp-ts-mode'." :version "1.0.0" @@ -95,6 +98,9 @@ These settings are assigned directly to `treesit-simple-indent-rules'. See the documentation for `treesit-simple-indent-rules' and `treesit-simple-indent-presets' for more information.") + +;;; Major Mode Setup + (defun gsp-ts--setup () "Setup tree-sitter for `gsp-ts-mode'." (setq-local -- cgit v1.2.3