diff options
author | pommicket <pommicket@gmail.com> | 2022-12-29 13:38:46 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-29 13:38:46 -0500 |
commit | 6e6b407550db47d3f9c85875c0f69444cf640796 (patch) | |
tree | 433d70ad1857744cad830b141c9cabd1e7ddf7d6 /lsp-parse.c | |
parent | f1e2e8382cc09bacb5da9e3c9463fea983a9e146 (diff) |
hover highlight
Diffstat (limited to 'lsp-parse.c')
-rw-r--r-- | lsp-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c index c89a8c4..4b05f29 100644 --- a/lsp-parse.c +++ b/lsp-parse.c @@ -63,7 +63,7 @@ static bool parse_position(LSP *lsp, const JSON *json, JSONValue pos_value, LSPP || !lsp_expect_number(lsp, character, "document column number")) return false; pos->line = (u32)line.val.number; - pos->character = (u32)line.val.number; + pos->character = (u32)character.val.number; return true; } |