mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-10 14:10:51 +00:00
Fix indentation in json-ts-mode (bug#60123)
* lisp/progmodes/json-ts-mode.el (json-ts--indent-rules): Add indentation rules for arrays.
This commit is contained in:
parent
3d348c46e7
commit
f9cb144d45
1 changed files with 2 additions and 1 deletions
|
@ -70,7 +70,8 @@
|
|||
((node-is "}") parent-bol 0)
|
||||
((node-is ")") parent-bol 0)
|
||||
((node-is "]") parent-bol 0)
|
||||
((parent-is "object") parent-bol json-ts-mode-indent-offset))))
|
||||
((parent-is "object") parent-bol json-ts-mode-indent-offset)
|
||||
((parent-is "array") parent-bol json-ts-mode-indent-offset))))
|
||||
|
||||
(defvar json-ts-mode--font-lock-settings
|
||||
(treesit-font-lock-rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue