ci: add test workflow and fix code quality issues
- Add CI test job with Emacs batch load and byte-compile - Fix settings-file variable check in init.el - Fix extra parenthesis in init-neotree.el - Add missing projectile dependencies in neotree and web-mode - Fix add-hook usage in init-icons.el - Add hydra dependency in init-ivy.el - Standardize header style in init-company.el
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
(use-package neotree
|
||||
:ensure t
|
||||
:after projectile
|
||||
:pin "MELPA"
|
||||
:commands (neotree-show
|
||||
neotree-hide
|
||||
@@ -69,8 +70,7 @@
|
||||
(when (and (require 'neotree nil t)
|
||||
(fboundp 'neo-buffer--insert-root-entry)
|
||||
(fboundp 'shrink-root-entry))
|
||||
(advice-add #'neo-buffer--insert-root-entry :override #'shrink-root-entry))
|
||||
)
|
||||
(advice-add #'neo-buffer--insert-root-entry :override #'shrink-root-entry)))
|
||||
|
||||
(defun neotree-project-dir-toggle ()
|
||||
"Open NeoTree using the project root, using find-file-in-project or the current buffer directory."
|
||||
|
||||
Reference in New Issue
Block a user