Compare commits

...

10 Commits

Author SHA1 Message Date
kj
5991826f44 feat(go): switch to go-ts-mode and add auto-format on save 2026-07-14 17:32:51 -03:00
kj
90dc7b6a77 refactor(php): remove warning suppression for php-cs-fixer
The real fix was update the php-cs-fixer phar file.
2026-06-19 12:33:43 -03:00
kj
e017cd5ebf fix(php): hide "No syntax errors detected" warnings 2026-06-18 12:37:37 -03:00
kj
f8f76d2bde refactor(php): update magit-psr configuration 2026-06-11 12:56:40 -03:00
kj
e011cae8ba style(vc): Configure blamer appearance and behavior 2026-06-11 12:46:15 -03:00
kj
05af3d2604 style(php): enable magit-psr-show-warnings 2026-06-11 12:46:01 -03:00
kj
27f237397a feat(config): enable global auto-revert mode
Configure Emacs to automatically reload files and dired buffers when
they are changed on disk.
2026-06-11 08:14:29 -03:00
kj
ec509018cc feat(php): add magit-psr package configuration 2026-06-11 08:14:09 -03:00
kj
929df1655f style(ai): change default gptel mode to markdown-mode 2026-06-11 08:13:32 -03:00
kj
de9b8c9b84 chore(ai): update available model list 2026-06-11 08:12:55 -03:00
6 changed files with 44 additions and 14 deletions

View File

@@ -22,23 +22,23 @@
:stream t :stream t
:protocol "http" :protocol "http"
:host "127.0.0.1:1945" :host "127.0.0.1:1945"
:models '("gemma-4-E4B" :models '("Qwen2.5-Coder"
"gemma-4-E4B-UNCENSORED"
"gemma-4-12B"
"gemma-4-12B-Q2"
"gemma-4-26B"
"gemma-4-26B-Q2"
"gemma-4-31B"
"gemma-4-31B-Q2"
"Qwen3.5-0.8B" "Qwen3.5-0.8B"
"Qwen3.5-4B" "Qwen3.5-4B"
"Qwen3.5-9B" "Qwen3.5-9B"
"Qwen3.6-27B" "Qwen3.6-27B"
"Qwen2.5-Coder"
"Qwen3Coder"
"Qwen3Coder-Q2" "Qwen3Coder-Q2"
"gptoss-20b" "Qwen3Coder"
"QwenSeek-2B"))) "QwenSeek-2B"
"gemma-4-12B"
"gemma-4-26B-Q2"
"gemma-4-26B"
"gemma-4-31B-Q2"
"gemma-4-31B"
"gemma-4-E2B"
"gemma-4-E4B-UNCENSORED"
"gemma-4-E4B"
"gptoss-20b")))
(setq gptel-model 'gemma4:31b-cloud (setq gptel-model 'gemma4:31b-cloud
gptel-backend (gptel-make-ollama "Ollama" gptel-backend (gptel-make-ollama "Ollama"
@@ -52,7 +52,7 @@
"minimax-m2.5:cloud" "minimax-m2.5:cloud"
"qwen3-coder-next:cloud"))) "qwen3-coder-next:cloud")))
(setq gptel-default-mode 'org-mode (setq gptel-default-mode 'markdown-mode
gptel-prompt-prefix-alist gptel-prompt-prefix-alist
'((markdown-mode . "# User\n\n") '((markdown-mode . "# User\n\n")
(org-mode . "* User\n\n") (org-mode . "* User\n\n")

View File

@@ -80,6 +80,10 @@
line-move-visual nil line-move-visual nil
track-eol t ; Keep cursor at end of lines. Require line-move-visual is nil. track-eol t ; Keep cursor at end of lines. Require line-move-visual is nil.
set-mark-command-repeat-pop t) ; Repeating C-SPC after popping mark pops it again set-mark-command-repeat-pop t) ; Repeating C-SPC after popping mark pops it again
;; Automatically reload files changed on disk
(global-auto-revert-mode 1) ;; buffers
(setq global-auto-revert-non-file-buffers t) ;; dired
;; auto-revert-verbose nil) ;; disable notifications
;; Visualize TAB, (HARD) SPACE, NEWLINE ;; Visualize TAB, (HARD) SPACE, NEWLINE
(setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default (setq-default show-trailing-whitespace nil ; Don't show trailing whitespace by default
cursor-type 'bar) ; Usar la barrita como cursor cursor-type 'bar) ; Usar la barrita como cursor

View File

@@ -48,6 +48,7 @@
(add-to-list 'eglot-server-programs '(web-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio"))) (add-to-list 'eglot-server-programs '(web-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
(add-to-list 'eglot-server-programs '(html-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio"))) (add-to-list 'eglot-server-programs '(html-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
(add-to-list 'eglot-server-programs '(nhtml-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio"))) (add-to-list 'eglot-server-programs '(nhtml-mode . ("rass" "--" "htmx-lsp" "--" "intelephense" "--stdio")))
;;(add-to-list 'eglot-server-programs '(markdown-mode . ("marksman")))
(add-to-list 'eglot-ignored-server-capabilities :inlayHintProvider) (add-to-list 'eglot-ignored-server-capabilities :inlayHintProvider)
) )

View File

@@ -16,6 +16,16 @@
;; Mostrar el commit de la línea actual ;; Mostrar el commit de la línea actual
(use-package blamer (use-package blamer
:ensure t :ensure t
:custom
(blamer-idle-time 0.3)
(blamer-min-offset 70)
(blamer-show-avatar-p nil)
(blamer-max-commit-message-length 80)
:custom-face
(blamer-face ((t :foreground "#808080"
:background nil
:height 100
:italic t)))
:bind ("C-c i" . blamer-show-posframe-commit-info)) :bind ("C-c i" . blamer-show-posframe-commit-info))
;; Resolver diferencias entre 2 archivos o versiones del mismo. ;; Resolver diferencias entre 2 archivos o versiones del mismo.

View File

@@ -9,7 +9,15 @@
;;; Code: ;;; Code:
(use-package go-mode) (use-package go-ts-mode
:ensure nil
:hook
(go-ts-mode . (lambda ()
(add-hook 'before-save-hook
(lambda ()
(ignore-errors (eglot-code-actions nil nil "source.organizeImports" t))
(eglot-format-buffer))
nil 'local))))
(provide 'lang-go) (provide 'lang-go)
;;; lang-go.el ends here ;;; lang-go.el ends here

View File

@@ -53,5 +53,12 @@
) )
) )
(use-package magit-psr
:ensure (:host github :repo "KJ2ME/magit-psr")
:custom
(magit-psr-recent-commits 5)
(magit-psr-show-warnings t)
(magit-psr-show-placeholder nil))
(provide 'lang-php) (provide 'lang-php)
;;; lang-php.el ends here ;;; lang-php.el ends here