Commit c052680f346d

Vincent Demeester <vincent@sbr.pm>
2024-02-06 16:41:59
tools/emacs: disable copilot…
… and add flymake-yamllint Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent a61d1e2
Changed files (3)
tools
users
tools/emacs/config/programming-config.el
@@ -18,28 +18,28 @@
 (use-package adoc-mode
   :mode ("\\.adoc\\'" . conf-toml-mode))
 
-(use-package copilot
-  :preface
-  (unless (package-installed-p 'copilot)
-    (package-vc-install "https://github.com/zerolfx/copilot.el"))
-  :hook
-  (prog-mode . copilot-mode)
-  ;; (markdown-mode . copilot-mode)
-  ;; (text-mode . copilot-mode)
-  (log-edit-mode . copilot-mode)
-  (vc-git-log-edit-mode . copilot-mode)
-  :bind
-  (:map copilot-completion-map
-        ("C-g" . copilot-clear-overlay)
-        ("C-j" . copilot-next-completion)
-        ("C-k" . copilot-previous-completion)
-        ("M-RET" . copilot-accept-completion)
-        ("C-f" . copilot-accept-completion)
-        ("C-l" . copilot-panel-complete)
-        ("C-<tab>" . copilot-next-completion)
-        ("C-S-<tab>" . copilot-previous-completion))
-  :custom
-  (copilot-idle-delay 1))
+;; (use-package copilot
+;;   :preface
+;;   (unless (package-installed-p 'copilot)
+;;     (package-vc-install "https://github.com/zerolfx/copilot.el"))
+;;   :hook
+;;   (prog-mode . copilot-mode)
+;;   ;; (markdown-mode . copilot-mode)
+;;   ;; (text-mode . copilot-mode)
+;;   (log-edit-mode . copilot-mode)
+;;   (vc-git-log-edit-mode . copilot-mode)
+;;   :bind
+;;   (:map copilot-completion-map
+;;         ("C-g" . copilot-clear-overlay)
+;;         ("C-j" . copilot-next-completion)
+;;         ("C-k" . copilot-previous-completion)
+;;         ("M-RET" . copilot-accept-completion)
+;;         ("C-f" . copilot-accept-completion)
+;;         ("C-l" . copilot-panel-complete)
+;;         ("C-<tab>" . copilot-next-completion)
+;;         ("C-S-<tab>" . copilot-previous-completion))
+;;   :custom
+;;   (copilot-idle-delay 1))
 
 (provide 'programming-config)
 ;;; programming-config.el ends here
users/vincent/dev/emacs.nix
@@ -71,6 +71,7 @@ let
     expand-region
     flimenu
     flymake-languagetool
+    flymake-yamllint
     fontaine
     focus
     git-commit
@@ -168,7 +169,7 @@ in
     ugrep
     # See if I can hide this under an option
     capture
-    github-copilot-cli # for copilot.el
+    # github-copilot-cli # for copilot.el
     nodejs
     ec
     et
users/vincent/dev/lisp.nix
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
-  home.packages = with pkgs; [
-    sbcl
-    asdf
-  ];
-}