From a1c07adc00f6f52b2a00de101859b571b0e69171 Mon Sep 17 00:00:00 2001 From: Myzel394 Date: Sat, 7 Jun 2025 22:43:20 +0200 Subject: [PATCH] fix: Fix jsonpath node selection --- lua/telescope/_extensions/jsonfly.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/telescope/_extensions/jsonfly.lua b/lua/telescope/_extensions/jsonfly.lua index 7617005..21a40fa 100644 --- a/lua/telescope/_extensions/jsonfly.lua +++ b/lua/telescope/_extensions/jsonfly.lua @@ -239,7 +239,10 @@ return require("telescope").register_extension({ end if global_config.backend == "lsp" then - local params = vim.lsp.util.make_position_params(xopts.winnr) + local params = vim.lsp.util.make_position_params( + xopts.winnr, + "utf-8" + ) -- Check i local clients = vim.lsp.get_clients()