🐛 fix: align trace value type
This commit is contained in:
parent
eb44afe2be
commit
f56cf960f1
|
|
@ -56,12 +56,12 @@ export namespace lsp::protocol
|
||||||
ProgressToken token;
|
ProgressToken token;
|
||||||
};
|
};
|
||||||
|
|
||||||
using TraceValue = std::string_view;
|
using TraceValue = string;
|
||||||
namespace TraceValueLiterals
|
namespace TraceValueLiterals
|
||||||
{
|
{
|
||||||
inline constexpr TraceValue Off = "off";
|
inline const TraceValue Off = "off";
|
||||||
inline constexpr TraceValue Messages = "messages";
|
inline const TraceValue Messages = "messages";
|
||||||
inline constexpr TraceValue Verbose = "verbose";
|
inline const TraceValue Verbose = "verbose";
|
||||||
}
|
}
|
||||||
|
|
||||||
struct SetTraceParams
|
struct SetTraceParams
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
module;
|
module;
|
||||||
|
|
||||||
#include <string_view>
|
|
||||||
|
|
||||||
export module lsp.provider.trace.set_trace;
|
export module lsp.provider.trace.set_trace;
|
||||||
import spdlog;
|
import spdlog;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue