Simplify map!
call
This commit is contained in:
parent
28705030e0
commit
27c553782a
1 changed files with 2 additions and 4 deletions
|
@ -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!)))
|
||||
|
||||
(map! :localleader
|
||||
(:after zig-mode
|
||||
(add-hook 'zig-mode-local-vars-hook #'lsp!))
|
||||
(map! :localleader
|
||||
:map zig-mode-map
|
||||
"b" #'zig-compile
|
||||
"f" #'zig-format-buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue