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:
parent
f4ee26ce33
commit
0f21303cad
|
@ -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~
|
||||
|
|
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue