;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\207" [require ivy ycmd] 2) #@63 Jump to the file/line indicated by SELECTION. (fn SELECTION) (defalias 'ivy-ycmd--handle-selection #[257 "\301\302!!r\303\304\"\216\305@\306\"\210\307 \303\310\"\216A\311\236A\312\236A\313!\210~\210eb\210\211Sy\266\203)\262*\207" [ivy-last internal--before-with-selected-window ivy--get-window make-closure #[0 "\301\300!\207" [V0 internal--after-with-selected-window] 2] select-window norecord match-data #[0 "\301\300\302\"\207" [V0 set-match-data evaporate] 3] filepath line_num find-file] 8 (#$ . 149)]) #@150 Create an ivy selection entry from LOCATION. The entry will be a cons-sell with a display-string as the car and LOCATION as the cdr. (fn LOCATION) (defalias 'ivy-ycmd--make-selection-entry #[257 "\300\301\302\303\236A\304\236A\305\236A$!B\207" [make-symbol format "%s:%s %s" filepath line_num description] 8 (#$ . 674)]) #@62 List the file locations in RESPONSE with ivy. (fn RESPONSE) (defalias 'ivy-ycmd--handle-response #[257 "\300\301\302\303\"\304\305\306\307&\207" [ivy-read "Goto: " mapcar ivy-ycmd--make-selection-entry :action ivy-ycmd--handle-selection :caller ivy-ycmd] 8 (#$ . 1008)]) #@172 Jump to a reference to the symbol at the current point. This finds all references to the symbol at point, lists them with ivy, and jumps to the one selected by the user. (defalias 'ivy-ycmd-goto-references #[0 "\212\300\301!\211\203\f\211@b\210\210\302\303\304\")\207" [bounds-of-thing-at-point symbol ycmd--run-completer-command "GoToReferences" ivy-ycmd--handle-response] 3 (#$ . 1289) nil]) (provide 'ivy-ycmd)