Open erusyd opened 6 months ago
After I've setup environment for platformio core in emacs, ccls shows following errors
The project can be compiled without error
My emacs related configuration snippet:
;; ccls (straight-use-package 'ccls) (require 'ccls) (setq ccls-executable (concat (getenv "HOME") "/opt/ccls")) (setq ccls-args '("--log-file=/tmp/ccls.log")) (setq ccls-initialization-options '(:cache (:directory "/tmp/ccls_cache"))) ;; C/C++ (add-hook 'c-mode-hook 'lsp) (add-hook 'c++-mode-hook 'lsp) ;; platformio-mode (straight-use-package 'platformio-mode) (require 'platformio-mode) (add-hook 'c++-mode-hook (lambda () (lsp-deferred) (platformio-conditionally-enable)))
After I've setup environment for platformio core in emacs, ccls shows following errors![Screenshot from 2024-01-30 15-30-17](https://github.com/MaskRay/ccls/assets/1529102/e2f94ede-919d-4ac3-8ff2-0499e3449b63)
The project can be compiled without error![Screenshot from 2024-01-30 15-36-34](https://github.com/MaskRay/ccls/assets/1529102/8a443cd5-5826-4fde-8fa0-4ed87b551554)
Steps to reproduce
My emacs related configuration snippet:
System information