Skip to content

Commit

Permalink
Explicitly define zig-mode-hook
Browse files Browse the repository at this point in the history
Get zig-mode-hook to appear in the customize menu by explicitly
defining it.

This closes ziglang#36
  • Loading branch information
ve-nt committed Nov 1, 2024
1 parent 9514dba commit 335df77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zig-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
:link '(url-link "https://ziglang.org/")
:group 'languages)

(defcustom zig-mode-hook nil
"Hook called by `zig-mode'."
:type 'hook
:group 'zig-mode)

(defcustom zig-indent-offset 4
"Indent Zig code by this number of spaces."
:type 'integer
Expand Down

0 comments on commit 335df77

Please sign in to comment.