Notify straight that package was modified
When you edit its files.
This commit is contained in:
parent
c6ebf4b4be
commit
062cc4aea5
1 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,13 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
|
|||
;; initialization
|
||||
#'+emacs-lisp-extend-imenu-h)
|
||||
|
||||
(autoload 'straight-register-file-modification "straight")
|
||||
(add-hook! 'emacs-lisp-mode-hook
|
||||
(defun +emacs-lisp-init-straight-h ()
|
||||
(when (file-in-directory-p (or buffer-file-name default-directory) doom-local-dir)
|
||||
(add-hook 'after-save-hook #'straight-register-file-modification
|
||||
nil 'local))))
|
||||
|
||||
;; Flycheck's two emacs-lisp checkers produce a *lot* of false positives in
|
||||
;; emacs configs, so we disable `emacs-lisp-checkdoc' and reduce the
|
||||
;; `emacs-lisp' checker's verbosity.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue