mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Use new CPU counter function in cc module
Broken since commit c5e3f4d6
.
This commit is contained in:
@ -296,7 +296,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
|||||||
(when (or IS-MAC IS-LINUX)
|
(when (or IS-MAC IS-LINUX)
|
||||||
(setq ccls-initialization-options
|
(setq ccls-initialization-options
|
||||||
`(:index (:trackDependency 1
|
`(:index (:trackDependency 1
|
||||||
:threads ,(max 1 (/ (doom-num-cpus) 2))))))
|
:threads ,(max 1 (/ (doom-system-cpus) 2))))))
|
||||||
(when IS-MAC
|
(when IS-MAC
|
||||||
(setq ccls-initialization-options
|
(setq ccls-initialization-options
|
||||||
(append ccls-initialization-options
|
(append ccls-initialization-options
|
||||||
|
Reference in New Issue
Block a user