Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mooz committed Jan 8, 2013
1 parent 4a51483 commit 4d1769f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

![screenshot](https://raw.github.com/mooz/auto-complete-c-headers/images/screenshot.png "Completing project-specific header files")

## Setup

```lisp
(defun my:ac-c-headers-init ()
(require 'auto-complete-c-headers)
Expand All @@ -10,3 +14,7 @@ An auto-complete source for C/C++ header files.
(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`.

0 comments on commit 4d1769f

Please sign in to comment.