Fix sml config

* Make it load after org, so org-directory is added correctly to
  `sml/replacer-regexp-list`
* Add Projects to `sml/replacer-regexp-list`
* Add Documents to `sml/replacer-regexp-list` in a way that agrees with
  XDG
This commit is contained in:
Gergely Polonkai 2016-11-09 08:38:17 +01:00
parent fdfac65961
commit bfbf069997

View File

@ -235,7 +235,16 @@
(use-package smart-mode-line (use-package smart-mode-line
:ensure t :ensure t
:after
org
:config :config
(add-to-list 'sml/replacer-regexp-list
'("^~/Projects/" ":Proj:")
t)
(add-to-list 'sml/replacer-regexp-list
(list (concat "^" (regexp-quote user-documents-directory))
":Doc:")
t)
(sml/setup)) (sml/setup))
(use-package company (use-package company