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:
committed by
Yuan Fu
parent
3d348c46e7
commit
f9cb144d45
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user