Created
March 17, 2012 01:11
-
-
Save buzztaiki/2054085 to your computer and use it in GitHub Desktop.
auto-complete source sample with summary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun ac-with-summary-candidates () | |
| (loop for (value summary) in '(("hoge" "ほげ") | |
| ("fuga" "ふが") | |
| ("hage" "禿")) | |
| collect (popup-item-propertize value 'summary summary))) | |
| (ac-define-source with-summary | |
| '((candidates . ac-with-summary-candidates))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment