lidavidm commented on issue #45286:
URL: https://github.com/apache/arrow/issues/45286#issuecomment-2597389533

   I have this, cargo-culted from somewhere; not sure if it affects things
   
   ```
   (use-package eglot
     :config
     (add-to-list 'eglot-server-programs
               '((c-mode c++-mode)
                    . ("clangd"
                       "-j=8"
                       "--all-scopes-completion"
                       "--log=error"
                       "--malloc-trim"
                       "--background-index"
                       "--background-index-priority=low"
                       "--clang-tidy"
                       "--header-insertion=iwyu"
                       "--header-insertion-decorators"
                       "--fallback-style=google"
                       "--pch-storage=memory")))
     :bind (("C-<down-mouse-1>" . 'xref-find-definitions)
            ("C-<mouse-1>" . 'xref-find-definitions)
            ("S-<f6>" . 'eglot-rename))
     )
   ```
   
   One other thing I see in my config is setting `'eglot-server-programs` to 
use the `clangd` from the conda environment that I develop a package in (I 
think you can accomplish also by activating the environment then starting emacs 
from that shell, though)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to