emacs/lang/ziglang.el
Maciej Szlosarczyk 9f73e90317
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run
Add missing requires to use-package macros
2024-07-22 07:43:42 +03:00

32 lines
710 B
EmacsLisp

;;; ziglang.el --- summary
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; ziglang does a thing.
;;; Code:
(require '+custom-pkg-projectile "$HOME/.emacs.d/pkg/projectile.el")
(require '+custom-pkg-ctags "$HOME/.emacs.d/pkg/ctags.el")
(require '+custom-pkg-prog-mode "$HOME/.emacs.d/pkg/prog-mode.el")
(use-package zig-mode :straight t :defer t :requires (lsp))
(defun activate-zig-mode ()
"Goodies for editing zig files."
;; Set column width to 100
(column-enforce-n 100)
;; Set indentation to 4 chars
(set-indent 4)
(lsp))
(add-hook 'zig-mode-hook 'activate-zig-mode)
(provide '+custom-lang-ziglang)
;;; ziglang.el ends here