Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 2f9b70a

Browse files
committed
Correctly use backslashes for indent-chars
* zig-mode.el: ']', ')' and '}' require backslash, while for the ',' it is recommended.
1 parent 2013d39 commit 2f9b70a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zig-mode.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@ If given a SOURCE, execute the CMD on it."
226226
"null" "undefined"))
227227

228228
(defconst zig-electric-indent-chars
229-
'(?\; ?, ?\) ?\] ?}))
230-
229+
'( ?\; ?\, ?\) ?\] ?\} ))
231230

232231
(defface zig-multiline-string-face
233232
'((t :inherit font-lock-string-face))

0 commit comments

Comments
 (0)