Skip to content

Commit

Permalink
Update the install guide
Browse files Browse the repository at this point in the history
Use `'warning` as a flycheck level.

Fixes flycheck#5 and flycheck#6.
  • Loading branch information
Claymore committed Mar 11, 2016
1 parent dc23300 commit 39b1d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ In your `init.el`:
;; Add Google C++ Style checker.
;; In default, syntax checked by Clang and Cppcheck.
(flycheck-add-next-checker 'c/c++-cppcheck
'(warnings-only . c/c++-googlelint))))
'(warnings . c/c++-googlelint))))
```

If you not use `cppcheck`. You have need to change `flycheck-add-next-checker`.

```
(flycheck-add-next-checker 'c/c++-clang
'(warnings-only . c/c++-googlelint))
'(warnings . c/c++-googlelint))
```

## Usage
Expand Down

0 comments on commit 39b1d4d

Please sign in to comment.