summaryrefslogtreecommitdiff
path: root/lsp-json.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 15:51:35 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 15:51:35 -0500
commitad841a324e905559ab7640956b0fbe2d2fdb3b77 (patch)
tree105be53e3181a7391e167c26894a7436bea27a23 /lsp-json.c
parent056ccc31cc2cfc1037a47a0b6ae35d0033602cbf (diff)
fixed hover bug
Diffstat (limited to 'lsp-json.c')
-rw-r--r--lsp-json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp-json.c b/lsp-json.c
index 5bf50c6..2f6f0f1 100644
--- a/lsp-json.c
+++ b/lsp-json.c
@@ -2,6 +2,8 @@
// provides FAST(ish) parsing but SLOW lookup
// this is especially fast for small objects
// this actually supports "extended json", where objects can have arbitrary values as keys.
+
+// a string
typedef struct {
u32 pos;
u32 len;