本项目并不是一个 language server protocol (lsp) 的服务端的应用, 而是针对 lsp 本身协议传输的设计与实现
int pthread_create(pthread_t*, const pthread_attr_t*, void *(*)(void*), void *) __attribute__ ((weak));
extern "C" {
int func(int);
int var;
}
__attribute__((section("FOO"))) int global_foo_var = 42;
lsp 的官方文档见 language-server-protocol document
本项目文档见 lsp document