diff options
author | noa | 2024-09-18 09:33:40 +0800 |
---|---|---|
committer | noa | 2024-09-18 09:33:40 +0800 |
commit | 380e6153a9f995ae8b424ce29b058b5ac63aba2f (patch) | |
tree | 24691d1df910cefeb237e805648bb102ecf7d4b1 /emacs | |
parent | 6602d886ed6d7965e3181db8eb55e80722f300d8 (diff) |
Convert valign to use-package
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs/init.el b/emacs/init.el index 792397a..cf46f0c 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -145,10 +145,13 @@ (global-set-key (kbd "C-S-<down-mouse-1>") #'mouse-drag-region-rectangle) ;; Nicer tables -(package-ensure 'valign) -(add-hook 'markdown-mode-hook #'valign-mode) -(setopt valign-fancy-bar t) -(setopt valign-max-table-size 0) +(use-package valign + :ensure t + :hook + ((markdown-mode . valign-mode)) + :custom + (valign-fancy-bar t) + (valign-max-table-size 0)) ;; Markdown (use-package markdown-mode |