diff options
Diffstat (limited to 'emacs/init.el')
-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 |