From c59368d49677bd230752134e6a34ba8c58570b26 Mon Sep 17 00:00:00 2001 From: janis Date: Mon, 15 Sep 2025 21:56:16 +0200 Subject: [PATCH] suppress copilot warnings (didn't work) --- init.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.org b/init.org index c10b290..4365e79 100644 --- a/init.org +++ b/init.org @@ -1439,6 +1439,13 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files: ("M-" . 'copilot-accept-completion-by-word) ("C-S-" . 'copilot-accept-completion-by-line) ) + :config + (setq copilot-indent-offset-warning-disable t) + (add-to-list 'copilot-indentation-alist '(org-mode 2)) + (add-to-list 'copilot-indentation-alist '(nix-mode 2)) + (add-to-list 'copilot-indentation-alist '(emacs-lisp-mode 2)) + (add-to-list 'copilot-indentation-alist '(prog-mode 2)) + (add-to-list 'copilot-indentation-alist '(text-mode 2)) ) #+end_src