From a97c9ed05d3e7ecb28923f90c56b5fe518024abe Mon Sep 17 00:00:00 2001 From: Alexey Bobyakov Date: Fri, 11 Mar 2016 23:34:38 +0300 Subject: [PATCH] Update the install guide Use 'warning as a flycheck level instead of the outdated 'warnings-only. Fixes #5 and #6. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 52a3714..f87ea8e 100644 --- a/README.md +++ b/README.md @@ -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