From a24cb97d5ecfbd441bfb45573bf8ae61b84e865d Mon Sep 17 00:00:00 2001 From: XeroOl Date: Fri, 1 Dec 2023 14:12:30 -0600 Subject: [PATCH] use bytes instead of utf16 "code units" for --check mode --- src/fennel-ls.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fennel-ls.fnl b/src/fennel-ls.fnl index ccc4328..b2435eb 100644 --- a/src/fennel-ls.fnl +++ b/src/fennel-ls.fnl @@ -8,7 +8,7 @@ (dispatch.handle* {:id 1 :jsonrpc "2.0" :method "initialize" - :params {:capabilities {} + :params {:capabilities {:general {:positionEncodings [:utf-8]}} :clientInfo {:name "fennel-ls"} :rootUri "file://"}})) file (state.get-by-uri server (.. "file://" filename))]