Prefer setopt to :custom from use-package
All checks were successful
/ Test config on 20 (push) Successful in 26s
All checks were successful
/ Test config on 20 (push) Successful in 26s
The following does not provide completion for variables: (use-package thing :custom (thing-thing :ok))
This commit is contained in:
parent
ba82470bea
commit
a68257ee41
24 changed files with 313 additions and 266 deletions
|
|
@ -7,20 +7,20 @@
|
|||
(require 'icejam-transient)
|
||||
|
||||
(use-package deft :ensure t
|
||||
:custom
|
||||
((deft-directory (substitute-in-file-name "$DEFT_PATH"))
|
||||
(deft-default-extension "md")
|
||||
(deft-ignore-file-regexp "\\._[0-9-A-Z_]+\\.md$")
|
||||
(deft-strip-summary-regexp (concat "\\("
|
||||
"[\n\t]" ;; blank
|
||||
"\\|^:[[:ascii:]]+:.*$" ;; org-mode properties string
|
||||
"\\|^Title:.*$" ;; Title string
|
||||
"\\|^title:.*$" ;; title string
|
||||
"\\|^\\[\\[file:.*$" ;; org-mode inline-images
|
||||
;; org-mode properties
|
||||
;; "\\|:PROPERTIES:\n\\(.+\n\\)+:END:\n" ;;
|
||||
"\\)"))
|
||||
(deft-auto-save-interval 30.0)))
|
||||
:config
|
||||
(setopt deft-directory (substitute-in-file-name "$DEFT_PATH")
|
||||
deft-default-extension "md"
|
||||
deft-ignore-file-regexp "\\._[0-9-A-Z_]+\\.md$"
|
||||
deft-strip-summary-regexp (concat "\\("
|
||||
"[\n\t]" ;; blank
|
||||
"\\|^:[[:ascii:]]+:.*$" ;; org-mode properties string
|
||||
"\\|^Title:.*$" ;; Title string
|
||||
"\\|^title:.*$" ;; title string
|
||||
"\\|^\\[\\[file:.*$" ;; org-mode inline-images
|
||||
;; org-mode properties
|
||||
;; "\\|:PROPERTIES:\n\\(.+\n\\)+:END:\n" ;;
|
||||
"\\)")
|
||||
deft-auto-save-interval 30.0))
|
||||
|
||||
(provide 'icejam-deft)
|
||||
;;; icejam-deft.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue