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 instead of the outdated 'warnings-only.

Fixes flycheck#5 and flycheck#6.
  • Loading branch information
Claymore committed Mar 11, 2016
1 parent dc23300 commit a97c9ed
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))))
'(warning . 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))
'(warning . c/c++-googlelint))
```

## Usage
Expand Down

0 comments on commit a97c9ed

Please sign in to comment.