Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel-yank-pop: add a defcustom, which can set SEPARATOR #660

Closed
tumashu opened this issue Sep 11, 2016 · 1 comment
Closed

counsel-yank-pop: add a defcustom, which can set SEPARATOR #660

tumashu opened this issue Sep 11, 2016 · 1 comment

Comments

@tumashu
Copy link
Contributor

@tumashu tumashu commented Sep 11, 2016

Like the below:
_026

    (defun counsel--yank-pop-format-function (cand-pairs)
      (ivy--format-function-generic
       (lambda (str)
         (mapconcat
          (lambda (s)
            (ivy--add-face s 'ivy-current-match))
          (split-string
           (counsel--yank-pop-truncate str) "\n" t)
          "\n"))
       (lambda (str)
         (counsel--yank-pop-truncate str))
       cand-pairs
       (concat "\n" (make-string 70 ?-) "\n")))
@abo-abo abo-abo closed this in 4e6145c Sep 11, 2016
@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Sep 11, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.