emacs-lsp / emacs-ccls

Emacs client for ccls, a C/C++ language server
200 stars 29 forks source link

Best way to run ccls with nice #45

Closed bb4242 closed 5 years ago

bb4242 commented 5 years ago

Thanks for ccls, it's great! I was wondering if there is an easy way run the emacs ccls process with nice (under linux). My workflow involves frequently changing branches of the code I'm using ccls to index. Each branch change kicks off a long-running, CPU heavy re-index of the project, and it would be really nice to have this indexing not slow down the rest of the machine. Any thoughts you have would be appreciated!

MaskRay commented 5 years ago

Consider using a shell script wrapper.