flycheck without lsp, avy

This commit is contained in:
Levi 2024-09-06 08:52:43 +02:00
parent f635488cee
commit d0f19315f0
1 changed files with 21 additions and 16 deletions

View File

@ -52,7 +52,7 @@
(message "Org configuration reloaded"))
(defun my-org-agenda-format-item (item)
"Format an agenda or TODO item without the filename, but keep the keyword."
"Format an agenda or to-do ITEM without the filename, but keep the keyword."
(let* ((marker (or (get-text-property 0 'org-marker item)
(get-text-property 0 'org-hd-marker item)))
(line (when marker
@ -355,20 +355,25 @@
(use-package rego-mode :ensure t :defer t)
(use-package kotlin-mode :ensure t :defer t)
(use-package fic-mode :ensure t :defer t)
(use-package flycheck :ensure t :defer t)
(use-package flycheck :ensure t :defer t
:init
(global-flycheck-mode))
;; navigation
;; ===
(use-package ace-jump-mode :ensure t :defer t
:bind (("C-x j j" . ace-jump-mode)
("C-x j l" . ace-jump-line-mode)
("C-x j c" . ace-jump-char-mode)
("C-x j w" . ace-jump-word-mode)
("C-c DEL" . 'ace-jump-mode-pop-mark)))
(use-package ace-mc :ensure t :defer t
:bind (("C-c >" . 'ace-mc-add-multiple-cursors)))
(use-package avy
:ensure t
:bind (("C-x j c" . avy-goto-char)
("C-x j M-c" . avy-goto-char-2)
("C-x j l" . avy-goto-line)
("C-x j w" . avy-goto-word-1)
("C-x j ." . avy-resume))
:config
(avy-setup-default)
(setq avy-background t))
;; api testing
;; ===
@ -670,9 +675,9 @@
;; could be llm-openai for example
(require 'llm-ollama)
(setopt ellama-provider
(make-llm-ollama
;; this model should be pulled to use it
;; value should be the same as you print in terminal during pull
:chat-model "codellama:latest"
:embedding-model "nomic-embed-text"
:default-chat-non-standard-params '(("num_ctx" . 8192)))))
(make-llm-ollama
;; this model should be pulled to use it
;; value should be the same as you print in terminal during pull
:chat-model "codellama:latest"
:embedding-model "nomic-embed-text"
:default-chat-non-standard-params '(("num_ctx" . 8192)))))