Function: majutsu-remote--completion-suffix

majutsu-remote--completion-suffix is a natively compiled function defined in majutsu-remote.el.

Signature

(majutsu-remote--completion-suffix ENTRY)

Documentation

Return aligned completion suffix for remote ENTRY.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-remote.el
(defun majutsu-remote--completion-suffix (entry)
  "Return aligned completion suffix for remote ENTRY."
  (let ((fetch (plist-get entry :fetch-url))
        (push (plist-get entry :push-url)))
    (majutsu-completion-annotation
     (majutsu-completion-column "git remote" 10 'majutsu-completion-key)
     (majutsu-completion-column fetch 28 'majutsu-completion-file-name)
     (majutsu-completion-field
      (and push (not (equal push fetch))
           (format "push:%s" push))
      'majutsu-completion-documentation))))