Use valign to align tables in spacemacs-org layer (#14196)

* Use valign package in org-mode to align tables

* update CHANGELOG.develop
This commit is contained in:
Ray 2020-12-14 05:08:36 +08:00 committed by GitHub
parent f4ee26ce33
commit 0f21303cad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -781,6 +781,8 @@ Other:
- Remove package =adaptive-wrap=
- Added =symbol-overlay= to the =spacemacs-navigation= layer
(thanks to kenkangxgwe)
- Added =valign= package to =spacemacs-org= layer
(thanks to rayw000)
- Key bindings:
- Evilify =Custom-mode= (thanks to Keith Pinson)
- Fixed ~M-x~ prefix visualization for ~dotspacemacs-emacs-command-key~

View file

@ -25,6 +25,7 @@
org-superstar
(space-doc :location local)
toc-org
valign
))
(defun spacemacs-org/post-init-flyspell ()
@ -75,6 +76,14 @@
(setq toc-org-max-depth 10)
(add-hook 'org-mode-hook 'toc-org-enable))))
(defun spacemacs-org/init-valign ()
(use-package valign
:init
(progn
(add-hook 'org-mode-hook 'valign-mode)
(add-hook 'valign-mode-hook (lambda () (unless valign-mode
(valign-remove-advice)))))))
(defun spacemacs-org/init-space-doc ()
(add-hook 'org-mode-hook 'dotspacemacs//prettify-spacemacs-docs))