branch: elpa/typst-ts-mode
commit 4c580a1c33e5279c7824db7af055ccd44c0a4e39
Author: Meow King <mr.meowk...@anche.no>
Commit: Meow King <mr.meowk...@anche.no>

    fix: typst-ts-mode-indent-offset-section wrong defcustom type
    
    JJ:
---
 typst-ts-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/typst-ts-mode.el b/typst-ts-mode.el
index abfc6aaec0..c6063c6319 100644
--- a/typst-ts-mode.el
+++ b/typst-ts-mode.el
@@ -48,14 +48,14 @@
 
 (defcustom typst-ts-mode-indent-offset 4
   "Number of spaces for each indentation step in `typst-ts-mode'."
-  :type 'integer
+  :type 'natnum
   :group 'typst-ts)
 
 
 (defcustom typst-ts-mode-indent-offset-section 2
   "The indent offset for section.
 i.e. The indentation offset after header."
-  :type 'boolean
+  :type 'natnum
   :group 'typst-ts)
 
 (defcustom typst-ts-mode-fontification-precision-level 'middle
@@ -1574,6 +1574,7 @@ nil and parbreak."
   (setq-local outline-heading-alist typst-ts-mode-outline-heading-alist)
   ;; Although without enabling `outline-minor-mode' also works, enabling it
   ;; provides outline ellipsis
+  ;; TODO test remove it or add it to after-hook
   (outline-minor-mode t)
   
   (treesit-major-mode-setup)

Reply via email to