Add ellama package if ollama is available
This commit is contained in:
parent
249171766b
commit
660bc7dfa3
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -81,3 +81,4 @@ flycheck_*.el
|
||||||
/straight/modified/
|
/straight/modified/
|
||||||
/straight/repos/*
|
/straight/repos/*
|
||||||
!/straight/repos/straight.el
|
!/straight/repos/straight.el
|
||||||
|
/ellama-sessions/
|
||||||
|
|
|
@ -192,6 +192,8 @@ Configure the look and feel of Emacs
|
||||||
(add-to-list 'package-selected-packages 'visual-fill-column)
|
(add-to-list 'package-selected-packages 'visual-fill-column)
|
||||||
(use-package visual-fill-column
|
(use-package visual-fill-column
|
||||||
:if (package-installed-p 'visual-fill-column)
|
:if (package-installed-p 'visual-fill-column)
|
||||||
|
:functions (visual-fill-column-mode
|
||||||
|
global-visual-fill-column-mode)
|
||||||
:hook (((dired-mode org-src-mode org-agenda-mode) . (lambda () (visual-fill-column-mode +1)))
|
:hook (((dired-mode org-src-mode org-agenda-mode) . (lambda () (visual-fill-column-mode +1)))
|
||||||
((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1))))
|
((doc-view-mode image-mode) . (lambda () (visual-fill-column-mode -1))))
|
||||||
:custom
|
:custom
|
||||||
|
@ -674,6 +676,13 @@ Configure email with iCalendar event support, to integrate with
|
||||||
:password (secrets-get-secret "default" "IRC libera.chat")))
|
:password (secrets-get-secret "default" "IRC libera.chat")))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Other
|
** Other
|
||||||
|
*** Ellama
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(if (executable-find "ollama" nil)
|
||||||
|
(add-to-list 'package-selected-packages 'ellama))
|
||||||
|
(use-package 'ellama
|
||||||
|
:if (package-installed-p 'ellama))
|
||||||
|
#+end_src
|
||||||
** Initial copy from =init.el=
|
** Initial copy from =init.el=
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package pixel-scroll
|
(use-package pixel-scroll
|
||||||
|
|
Loading…
Reference in a new issue