restoring config.org

This commit is contained in:
Danilo Reyes 2025-10-02 11:02:17 -06:00
parent 771b7b1a42
commit e63a0590b4

View File

@ -451,17 +451,17 @@ later.
Configurations to add linting support to specific languages by integrating linters with flycheck.
#+begin_src emacs-lisp :tangle ./config.el
;; (use-package! flycheck
;; :config
;; (flycheck-define-checker deadnix
;; "A syntax checker for Nix using deadnix."
;; :command ("deadnix" "--fail" source)
;; :error-patterns
;; ((warning line-start (file-name) ":" line ":" column
;; ": " (message) line-end))
;; :modes (nix-mode))
(use-package! flycheck
:config
(flycheck-define-checker nix-statix
"A syntax checker for Nix using Statix."
:command ("statix" "check" source)
:error-patterns
((warning line-start (file-name) ":" line ":" column
": " (message) line-end))
:modes (nix-mode))
;; (add-to-list 'flycheck-checkers 'deadnix))
(add-to-list 'flycheck-checkers 'nix-statix))
#+end_src
* GPT
Integrate most AI agents with emacs on a way that through api keys it can do