Things
All checks were successful
/ test (push) Successful in 27s

This commit is contained in:
Andrea Ciceri 2024-08-16 17:08:16 +02:00
parent a65c1478cf
commit 524b38e744
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg

27
init.el
View file

@ -436,21 +436,6 @@
[("D" "Difftastic diff (dwim)" difftastic-magit-diff)
("S" "Difftastic show" difftastic-magit-show)])))
(use-package sideline
:delight
:hook (flymake-mode . sideline-mode)
:custom
(sideline-flymake-display-mode 'line)
(sideline-backends-right '(sideline-flymake))
:config
;; FIXME https://github.com/emacs-sideline/sideline/issues/13
(require 'sideline)
(defun ccr-sideline--align (&rest lengths)
"Align sideline string by LENGTHS from the right of the window."
(list (* (window-font-width)
(+ (apply #'+ lengths) (if (display-graphic-p) 1 3)))))
(advice-add 'sideline--align :override #'ccr-sideline--align))
;; FIXME there is something deeply wrong about how nix is configured here
;; (use-package nix-mode
;; :delight nix-prettify-mode
@ -820,12 +805,12 @@ This is meant to be an helper to be called from the window manager."
(insert response)))))))
)
;; (use-package copilot
;; :custom
;; (copilot-max-char -1)
;; (copilot-indent-offset-warning-disable 't)
;; :hook (prog-mode org-mode)
;; :bind (("C-<tab>" . copilot-accept-completion)))
(use-package copilot
:custom
(copilot-max-char -1)
(copilot-indent-offset-warning-disable 't)
:hook (prog-mode org-mode)
:bind (("C-<tab>" . copilot-accept-completion)))
(use-package pass
:config