mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
Merge pull request #4075 from gagbo/patch-6
[:lang cc] Fix list in call for cpu count command
This commit is contained in:
@@ -282,7 +282,7 @@ If rtags or rdm aren't available, fail silently instead of throwing a breaking e
|
|||||||
(set-evil-initial-state! 'ccls-tree-mode 'emacs)
|
(set-evil-initial-state! 'ccls-tree-mode 'emacs)
|
||||||
(setq ccls-sem-highlight-method 'font-lock)
|
(setq ccls-sem-highlight-method 'font-lock)
|
||||||
(when (or IS-MAC IS-LINUX)
|
(when (or IS-MAC IS-LINUX)
|
||||||
(let ((cpu-count-command (cond (IS-MAC '("sysctl -n hw.ncpu"))
|
(let ((cpu-count-command (cond (IS-MAC '("sysctl" "-n" "hw.ncpu"))
|
||||||
(IS-LINUX '("nproc"))
|
(IS-LINUX '("nproc"))
|
||||||
(t (error "unreachable code")))))
|
(t (error "unreachable code")))))
|
||||||
(setq ccls-initialization-options
|
(setq ccls-initialization-options
|
||||||
|
Reference in New Issue
Block a user