Hugo
Hugo
You probably want `sys.path.append`: https://stackoverflow.com/a/3108301/107510
When docs are built, the current directory typically changes. At least it does with the default Sphinx Makefile.
From https://www.rfc-editor.org/rfc/rfc5545#section-3.6.1: > For cases where a "VEVENT" calendar component specifies a "DTSTART" property > with a DATE-TIME value type but no "DTEND" property, the event ends on the same...
I don't use the neovim plugin, but I do use the LSP. My own repro steps: - Type `Текст заголовка` - Select the whole line (shift+v) - Trigger code action...
Ugh, my above test seems to have been messed up by selecting the whole line. Looks like my issue was caused by the trailing newline in the selection. Totally unrelated...
In my case, this is the response that returns from the LSP: [DEBUG][2024-09-11 10:00:01] .../vim/lsp/rpc.lua:408 "rpc.receive" { id = 0, jsonrpc = "2.0", method = "workspace/applyEdit", params = { edit...
I installed the neovim plugin and reproduced op's issue with LSP logging enabled. This is the request sent to he LSP: [DEBUG][2024-09-11 10:11:53] ...m/lsp/client.lua:676 "LSP[zk]" "client.request" 1 "workspace/executeCommand" { arguments...
The exact meaning of these positions is negotiated between the client and server, but the default is UTF-16: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position UTF-16 because LSP has origins in JavaScript world, which uses this...
I inspected the value returned by: https://github.com/zk-org/zk-nvim/blob/main/lua/zk/commands/builtin.lua#L21 And it returns: ``` { range = { ["end"] = { character = 28, line = 0 }, start = { character =...
I added `print(selected_text)` on the value that the plugin sends to the LSP: https://github.com/zk-org/zk-nvim/blob/dbf4eeab55b08856c9d6b6722dbff39630bb35eb/lua/zk/commands/builtin.lua#L22 And it prints: Текст заголовк This is missing the last byte. It is not entirely clear...