我正在尝试在我的 emacs 中安装 flycheck-google-cpplint。但我得到这个错误:
(flycheck-mode 1)
(eval-after-load 'flycheck
'(progn
(require 'flycheck-google-cpplint)
(flycheck-add-next-checker 'c/c++-cppcheck
'c/c++-googlelint 'append)))
(custom-set-variables
'(flycheck-googlelint-verbose "3")
'(flycheck-googlelint-filter "-whitespace,+whitespace/braces"))
但这不起作用。我收到以下错误:
Error: (user-error "Configured syntax checker c/c++-googlelint cannot be used")
我不知道为什么。我安装了 cpplint,如果我从命令行使用它,它工作正常。有什么建议吗?