Skip to content

Commit 39b1d4d

Browse files
committed
Update the install guide
Use `'warning` as a flycheck level. Fixes flycheck#5 and flycheck#6.
1 parent dc23300 commit 39b1d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ In your `init.el`:
3232
;; Add Google C++ Style checker.
3333
;; In default, syntax checked by Clang and Cppcheck.
3434
(flycheck-add-next-checker 'c/c++-cppcheck
35-
'(warnings-only . c/c++-googlelint))))
35+
'(warnings . c/c++-googlelint))))
3636
```
3737

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

4040
```
4141
(flycheck-add-next-checker 'c/c++-clang
42-
'(warnings-only . c/c++-googlelint))
42+
'(warnings . c/c++-googlelint))
4343
```
4444

4545
## Usage

0 commit comments

Comments
 (0)