mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
18 lines
427 B
C++
18 lines
427 B
C++
#pragma once
|
|
|
|
#include "common_types.h"
|
|
|
|
namespace LSPSpec {
|
|
struct Hover {
|
|
/// @brief The hover's content
|
|
MarkupContent m_contents;
|
|
/// @brief An optional range is a range inside a text document that is used to visualize a hover,
|
|
/// e.g. by changing the background color.
|
|
std::optional<Range> m_range;
|
|
};
|
|
|
|
void to_json(json& j, const Hover& obj);
|
|
void from_json(const json& j, Hover& obj);
|
|
|
|
} // namespace LSPSpec
|