我装了这插件,结果每次都要手动M-x company-c-headers
另外我的配置如下:
(when (maybe-require-package 'company-c-headers)
(after-load 'company
(add-hook 'c-mode-hook
(lambda () (sanityinc/local-push-company-backend 'company-c-headers)))))
(setq company-c-headers-path-system '"/usr/include")