randomphrase / company-c-headers

Auto-completion for C/C++ headers using Company
GNU General Public License v2.0
76 stars 9 forks source link

there is irony-mode support? #14

Open rafaelleru opened 7 years ago

Sarcasm commented 7 years ago

Seeing this issue by chance. You can get irony support with the following code:

(defun company-c-headers-path-user-irony ()
  "Return the user include paths for the current buffer."
  (when irony-mode
    (irony--extract-user-search-paths irony--compile-options
                                      irony--working-directory)))
(setq company-c-headers-path-user #'company-c-headers-path-user-irony)