Files
clice/include/Server/Setting.h
2024-07-25 19:56:19 +08:00

17 lines
359 B
C++

#include <string_view>
namespace clice {
/// Settings for the LSP server
struct Setting {
/// compile_commands.json file path
std::string compile_commands_dictionary = "/build";
/// mode of the server: ["pipe", "socket", "index"]
std::string mode = "pipe";
};
/// global setting instance
inline Setting setting = {};
} // namespace clice