始终不能理解如何设置ccls的index.threads. Github上的都是json格式的,不知道如何在Emacs里设置。
我现在在用lsp.
始终不能理解如何设置ccls的index.threads. Github上的都是json格式的,不知道如何在Emacs里设置。
我现在在用lsp.
你得告诉大家你用的 lsp 还是 eglot 或者别的吧
lsp 可以去 Github 搜搜 lsp-register-custom-settings
的例子
eglot 那个文档有点点简略,可以去看看 Discussion 里面的讨论和例子
原本想转eglot. 但是恶glitter-shutdown 总是返回’status 9’. 之后就没办开启language server了。
多谢回复,改天我在试一下
eglot-shutdown
就是会返回:
[jsonrpc] Server exited with status 9
重新执行 M-x eglot
就能连上了
不过我没用 ccls ,我用的是 clangd