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:
parent
fdfac65961
commit
bfbf069997
9
init.el
9
init.el
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user