[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/typst-ts-mode 709e77733e 208/246: fix+chore: indentation r
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/typst-ts-mode 709e77733e 208/246: fix+chore: indentation rules for item |
Date: |
Fri, 14 Feb 2025 16:55:32 -0500 (EST) |
branch: elpa/typst-ts-mode
commit 709e77733e34fa55a0a8c21a2e6ed9a2fb6934ec
Author: meowking <mr.meowking@tutamail.com>
Commit: meowking <mr.meowking@tutamail.com>
fix+chore: indentation rules for item
---
typst-ts-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/typst-ts-mode.el b/typst-ts-mode.el
index 59864218a0..ea4777f927 100644
--- a/typst-ts-mode.el
+++ b/typst-ts-mode.el
@@ -470,6 +470,8 @@ NODE, PARENT and BOL see `treesit-simple-indent-rules'."
;; item - new item content should follow its previous line's indentation
;; level
+ ;; e.g.
+ ;; - hi | <- return (newline command)
((and no-node
typst-ts-mode--indentation-prev-line-is-item-p
;; not in container
@@ -478,7 +480,7 @@ NODE, PARENT and BOL see `treesit-simple-indent-rules'."
;; hi #[
;; - hello | <- return
;; ]
- (not (n-p-gp nil "parbreak" "code")))
+ (not (n-p-gp nil "parbreak"
,typst-ts-mode--container-node-types-regexp)))
typst-ts-mode--indentation-multiline-item-get-anchor_ 0)
;; raw block
- [nongnu] elpa/typst-ts-mode fab310f9a0 183/246: refactor: remove autoload on functions that depend on typst-ts-mode, (continued)
- [nongnu] elpa/typst-ts-mode fab310f9a0 183/246: refactor: remove autoload on functions that depend on typst-ts-mode, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 2a3fb8e577 184/246: fix: maarkup-extended font feature, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode aee8ff090c 244/246: doc: add Contribute information on README, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 96d82bc4ba 149/246: refactor: separate editing commands into another file, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode d8c64a99f4 150/246: docs: fix typo, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode ed22e9ddc3 164/246: doc(README): update co-maintainer information, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 2132974643 169/246: chore: remove unneeded functions, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 6a1ff662e1 194/246: fix(editing): typst-ts-mode-return on item newline issue, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 075b450e44 199/246: chore, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode a6e6940956 202/246: refactor: do not `kill-line` because it will be in kill-ring, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 709e77733e 208/246: fix+chore: indentation rules for item,
ELPA Syncer <=
- [nongnu] elpa/typst-ts-mode 97ccb33aeb 215/246: chore: prefix argument handling for `typst-ts-compile` command, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 2c82246569 216/246: fix: `typst-ts-compile` preview doc by default, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 13b9894a4f 217/246: feat: #16 swapping numbered items works now, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 07cf3bcc89 229/246: Added function `typst-ts-preview`, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode f643036cc2 239/246: fix: having point after last column did not count as item #33, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 7c01c6821c 243/246: Merge pull request 'Add an option to customize the preview function.' (#36) from tkpapp/typst-ts-mode:tp/customize-preview-function into develop, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 271cedb1de 066/246: feat: add customization option to enable raw block highlighting, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode fded764913 069/246: fix(els): remove language tag map duplication, ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode d6cd6d7283 076/246: feat: Also auto insert numbered list., ELPA Syncer, 2025/02/14
- [nongnu] elpa/typst-ts-mode 49a3981040 083/246: fix: Only search for the current line., ELPA Syncer, 2025/02/14