commit c052680f346da2f00c1ee636264dfee692b1ba6c
parent a61d1e274f8b136eec8b74ac0b833386ca567174
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 6 Feb 2024 16:41:59 +0100
tools/emacs: disable copilot…
… and add flymake-yamllint
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
3 files changed, 24 insertions(+), 30 deletions(-)
diff --git a/tools/emacs/config/programming-config.el b/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
diff --git a/users/vincent/dev/emacs.nix b/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
diff --git a/users/vincent/dev/lisp.nix b/users/vincent/dev/lisp.nix
@@ -1,7 +0,0 @@
-{ pkgs, ... }:
-{
- home.packages = with pkgs; [
- sbcl
- asdf
- ];
-}