Compare commits
4 Commits
9553b240d8
...
95d9746fbf
Author | SHA1 | Date | |
---|---|---|---|
95d9746fbf | |||
135671b5b9 | |||
45029768b9 | |||
9876be8389 |
@ -34,6 +34,7 @@
|
|||||||
:ensure nil
|
:ensure nil
|
||||||
:hook ((css-mode . eglot-ensure)
|
:hook ((css-mode . eglot-ensure)
|
||||||
(html-mode . eglot-ensure)
|
(html-mode . eglot-ensure)
|
||||||
|
(php-mode . eglot-ensure)
|
||||||
(php-ts-mode . eglot-ensure)
|
(php-ts-mode . eglot-ensure)
|
||||||
(rust-mode . eglot-ensure)
|
(rust-mode . eglot-ensure)
|
||||||
(sh-mode . eglot-ensure))
|
(sh-mode . eglot-ensure))
|
||||||
|
@ -25,6 +25,9 @@
|
|||||||
(visual-line-mode 1)
|
(visual-line-mode 1)
|
||||||
(visual-fill-column-mode 1)
|
(visual-fill-column-mode 1)
|
||||||
|
|
||||||
|
;; Configuracin para Systanx Highlight en porg-blocks
|
||||||
|
(add-to-list 'org-src-lang-modes (cons "html" 'mhtml))
|
||||||
|
|
||||||
;; Configuración de fonts
|
;; Configuración de fonts
|
||||||
;; (set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face))
|
;; (set-face-attribute (car face) nil :font "Cantarell" :weight 'regular :height (cdr face))
|
||||||
|
|
||||||
|
@ -127,22 +127,22 @@
|
|||||||
(drag-stuff-define-keys))
|
(drag-stuff-define-keys))
|
||||||
|
|
||||||
;; Emparejamiento automático de comillas, paréntesis, corchetes y llaves
|
;; Emparejamiento automático de comillas, paréntesis, corchetes y llaves
|
||||||
(use-package electric-pair
|
;; (use-package electric-pair
|
||||||
:defer t
|
;; :defer t
|
||||||
:ensure nil
|
;; :ensure nil
|
||||||
:hook (elpaca-after-init . electric-pair-mode)
|
;; :hook (elpaca-after-init . electric-pair-mode)
|
||||||
:config
|
;; :config
|
||||||
(setq electric-pair-delete-adjacent-pairs nil))
|
;; (setq electric-pair-delete-adjacent-pairs nil))
|
||||||
|
|
||||||
;; Cliente LLM (ollama, chatgpt, gemini, etc.)
|
;; Cliente LLM (ollama, chatgpt, gemini, etc.)
|
||||||
(use-package gptel
|
(use-package gptel
|
||||||
:defer t
|
:defer t
|
||||||
:config
|
:config
|
||||||
(setq gptel-model "dolphin-llama3:latest"
|
(setq gptel-model "gemma2"
|
||||||
gptel-backend (gptel-make-ollama "Ollama"
|
gptel-backend (gptel-make-ollama "Ollama"
|
||||||
:host "localhost:11434"
|
:host "localhost:11434"
|
||||||
:stream t
|
:stream t
|
||||||
:models '("mistral:latest" "dolphin-llama3:latest" "llama3:latest" "llava:latest"))
|
:models '("mistral:latest" "dolphin-llama3:latest" "gemma2" "llava:latest"))
|
||||||
gptel-default-mode 'org-mode
|
gptel-default-mode 'org-mode
|
||||||
gptel-prompt-prefix-alist
|
gptel-prompt-prefix-alist
|
||||||
'((markdown-mode . "# ")
|
'((markdown-mode . "# ")
|
||||||
|
@ -12,12 +12,11 @@
|
|||||||
(use-package php-ts-mode
|
(use-package php-ts-mode
|
||||||
:defer t
|
:defer t
|
||||||
:mode "\\.php\\'"
|
:mode "\\.php\\'"
|
||||||
|
:after php-mode
|
||||||
:ensure nil)
|
:ensure nil)
|
||||||
|
|
||||||
;; Requerido por org-mode para el Syntax Highlight
|
|
||||||
(use-package php-mode
|
(use-package php-mode
|
||||||
:defer t
|
:defer t
|
||||||
:hook (php-mode . php-ts-mode)
|
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
(use-package php-doc-block
|
(use-package php-doc-block
|
||||||
|
Loading…
Reference in New Issue
Block a user