Simplify map! call

This commit is contained in:
Benjamin Tan 2021-03-20 15:40:21 +08:00
parent 28705030e0
commit 27c553782a
No known key found for this signature in database
GPG key ID: A853F0716C413825

View file

@ -14,10 +14,8 @@
;; Disable zig-mode's default format on save behaviour.
(setq zig-format-on-save nil)
(when (featurep! +lsp)
(add-hook 'zig-mode-local-vars-hook #'lsp!)))
(add-hook 'zig-mode-local-vars-hook #'lsp!))
(map! :localleader
(:after zig-mode
:map zig-mode-map
"b" #'zig-compile
"f" #'zig-format-buffer