restoring config.org
This commit is contained in:
parent
771b7b1a42
commit
e63a0590b4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user