Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 555 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 555 Bytes

auto-complete-c-headers

An auto-complete source for C/C++ header files.

screenshot

Setup

(defun my:ac-c-headers-init ()
  (require 'auto-complete-c-headers)
  (add-to-list 'ac-sources 'ac-source-c-headers))

(add-hook 'c++-mode-hook 'my:ac-c-headers-init)
(add-hook 'c-mode-hook 'my:ac-c-headers-init)

Customizing

See docstrings of achead:include-directories and achead:get-include-directories-function.