ci: add test workflow and fix code quality issues
All checks were successful
git-sync-with-mirror / test (push) Successful in 3m18s
git-sync-with-mirror / git-sync (push) Successful in 15s

- 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:
2026-02-27 23:34:18 -05:00
parent f19be26105
commit fa9b2a92c2
7 changed files with 45 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
;;; init-company.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;; Company es un famework de Emacs para el completado de texto.
;; Company is a framework for text completion in Emacs.
;;; code:
;;; Code:
(use-package company
:defer 5
:diminish
@@ -29,7 +29,6 @@
(global-company-mode t))
(use-package company-quickhelp
:ensure t
:after company
:config
(company-quickhelp-mode 1))

View File

@@ -15,7 +15,7 @@
;;---------------------------------
(when (display-graphic-p)
(unless (member "all-the-icons" (font-family-list))
(setq neotree-mode-hook 'all-the-icons-install-fonts))))
(add-hook 'neotree-mode-hook #'all-the-icons-install-fonts))))
;; fix performace
(setq inhibit-compacting-font-caches t)

View File

@@ -32,6 +32,7 @@
;; hydra
(use-package hydra
:pin "MELPA"
:after ivy
:config (hydra-add-font-lock))
(use-package swiper

View File

@@ -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."

View File

@@ -4,6 +4,7 @@
;;; Code:
(use-package web-mode
:after projectile
:pin "MELPA"
:mode (("\\.html?\\'" . web-mode)
("\\.djhtml\\'" . web-mode)