Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun company-phpactor--get-candidates ()
- "Build a list of candidates with text-properties extracted from phpactor's output."
- (let ((suggestions (company-phpactor--get-suggestions))
- (candidates ()))
- (mapcar
- (lambda (suggestion)
- (setq candidate (plist-get suggestion :name))
- (put-text-property 0 1 'annotation (plist-get suggestion :info) candidate)
- candidate)
- suggestions)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement