mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix malformed include path bug for c++-mode
Include paths were incorrectly escaped, causing -I options to be ignored.
This commit is contained in:
@ -77,6 +77,6 @@ compilation dbs."
|
||||
(irony-cdb--update-compile-options
|
||||
(append (delq nil (cdr-safe (assq major-mode +cc-compiler-options)))
|
||||
(cl-loop for path in +cc-include-paths
|
||||
collect (format "-I %s" (shell-quote-argument path))))
|
||||
nconc (list "-I" path)))
|
||||
(doom-project-root)))))
|
||||
|
||||
|
Reference in New Issue
Block a user