-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Thank you for the effort! I am getting error though:
Installed with
go install github.com/ewen-lbh/hyprls/cmd/hyprls@latest
verified that it starts by running it from the console
❯ hyprls
2024-04-28T14:52:39.174+0200 DEBUG hyprls/main.go:25 going to start server
2024-04-28T14:52:39.175+0200 DEBUG hyprls@v0.1.0/main.go:18 starting server
created an empty hyprland.conf file and ran
vim.lsp.start { name = "hyprlang", cmd = {"hyprls"}, root_dir = vim.fn.getcwd(), }
but as soon as I insert the first character, I get an error,
Client hyprlang quit with exit code 2 and signal 0. Check log for errors
checking with LspLog gives
[ERROR][2024-04-28 14:52:22] .../vim/lsp/rpc.lua:770 "rpc" "hyprls" "stderr" "panic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x1 addr=0x78 pc=0x709695]\n\ngoroutine 10 [running]:\n"