question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to get working on helix

See original GitHub issue

I’ve tried configuring marksman as per the README but it doesn’t work for me.

❯ hx --health markdown
Configured language server: marksman
Binary for language server: /home/zim/.local/bin/marksman
Configured debug adapter: None
Highlight queries: ✓
Textobject queries: ✘
Indent queries: ✘

I have an empty .marksman.toml file in the cwd. log(hx -vvv file)->:log-open:

2022-09-17T12:17:52.443 helix_loader [DEBUG] Located configuration folders: []
2022-09-17T12:17:52.454 helix_view::clipboard [INFO] Using xclip to interact with the system and selection (primary) clipboard
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(2), interests=READABLE | WRITABLE
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(3), interests=READABLE | WRITABLE
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(4), interests=READABLE | WRITABLE
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(5), interests=READABLE | WRITABLE
2022-09-17T12:17:52.499 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":false},"completionItemKind":{}},"hover":{"contentFormat":["markdown"]},"publishDiagnostics":{},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":false},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"symbol":{"dynamicRegistration":false},"workspaceFolders":true}},"processId":693130,"rootPath":"/home/zim/.md","rootUri":"file:///home/zim/.md","workspaceFolders":[{"name":".md","uri":"file:///home/zim/.md"}]},"id":0}
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(0), interests=READABLE
2022-09-17T12:17:52.499 mio::poll [TRACE] registering event source with poller: token=Token(1), interests=READABLE
2022-09-17T12:17:53.070 helix_lsp::transport [ERROR] err <- "[12:17:52 INF] <LSP Entry> Starting Marksman LSP server: {}\n"
2022-09-17T12:17:54.275 helix_lsp::transport [INFO] <- {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2},"hoverProvider":true,"completionProvider":{"triggerCharacters":["[","#","("]},"definitionProvider":true,"referencesProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":{"resolveProvider":false},"renameProvider":true,"semanticTokensProvider":{"legend":{"tokenTypes":["property","variable"],"tokenModifiers":[]},"range":true,"full":{"delta":false}},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true},"fileOperations":{"didCreate":{"filters":[{"pattern":{"glob":"**/*.md","matches":"file","options":{"ignoreCase":true}}}]},"didDelete":{"filters":[{"pattern":{"glob":"**/*.md","matches":"file","options":{"ignoreCase":true}}}]}}}}}}
2022-09-17T12:17:54.275 helix_lsp::transport [INFO] <- {"capabilities":{"codeActionProvider":{"resolveProvider":false},"completionProvider":{"triggerCharacters":["[","#","("]},"definitionProvider":true,"documentSymbolProvider":true,"hoverProvider":true,"referencesProvider":true,"renameProvider":true,"semanticTokensProvider":{"full":{"delta":false},"legend":{"tokenModifiers":[],"tokenTypes":["property","variable"]},"range":true},"textDocumentSync":{"change":2,"openClose":true},"workspace":{"fileOperations":{"didCreate":{"filters":[{"pattern":{"glob":"**/*.md","matches":"file","options":{"ignoreCase":true}}}]},"didDelete":{"filters":[{"pattern":{"glob":"**/*.md","matches":"file","options":{"ignoreCase":true}}}]}},"workspaceFolders":{"changeNotifications":true,"supported":true}},"workspaceSymbolProvider":true}}
2022-09-17T12:17:54.275 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"initialized","params":{}}
2022-09-17T12:17:54.276 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"markdown","text":"# Zim's Setup Guide\n\n## Backups\n\n*   Browser plugins\n*   `~/.config` dir, rcs, scripts, etc.\n*   Could even use `rsync` to take backups\n\n## Installing Arch Linux\n\n[Arch Installation Guide](https://wiki.archlinux.org/title/installation_guide)\n\n### Prerequisite Knowledge:\n\n*   Selecting mirrors with [ reflector ](https://wiki.archlinux.org/title/Reflector)\n\n*   Chrooting: In case something goes wrong with your installation you will have to chroot into your installation for which you will have to first mount your \"root\" partition and **then** the \"EFI system\" partition. Althought sometimes you might not need to mount the \"EFI system\" partition. We made the installation at `/root` and our EFI mount point(according to the installation guide) is at `/boot`\n\n*   Install gvim/nvim during `pacstrap`\n\n*   To install other packages or package groups, append the names to the pacstrap command above (space separated) or use pacman while [ chrooted ](https://wiki.archlinux.org/title/installation_guide#Chroot) into the new system.\n\n*   Necessary packages:\n    ```console\n    pacman -Sy xorg alsa network-manager-applet polybar haskell-random acpi brightnessctl zellij fish nushell kitty alacritty rofi feh xorg-xinit starship man-db man-pages slock\n    ```\n\n*   Rust installation(for paru): `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`\n    ```console\n    sudo pacman -S --needed base-devel\n    git clone https://aur.archlinux.org/paru.git\n    cd paru\n    makepkg -si\n\n    paru -Sy otf-font-awesome-5 xmonad-git xmonad-contrib-git brave-bin microsoft-edge-stable-bin kmonad-git\n    ```\n\n### Installing Bootloader\n\nIn the installation guide our boot partition was mounted at `/mnt/boot` and `/boot` while chrooted. Let's install Gummiboot now:\n\n*   Install using: `bootctl install` which might result in an error, usually complaining about the efi dir not found.\n*   [Configure gummiboot](https://wiki.archlinux.org/title/Systemd-boot#Configuration). Also, checkout [github gists](https://gist.github.com/zim0369) for \"arch.conf\" and \"loader.conf\"\n\n## Setting up the System\n\n### Necessary Knowledge\n\n[System Maintenance](https://wiki.archlinux.org/title/system_maintenance)\n\n[General Recommendations](https://wiki.archlinux.org/title/General_recommendations)\n\n### Placing Required Files\n","uri":"file:///home/zim/.md/arch_install.md","version":0}}}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
artempyanykhcommented, Sep 20, 2022

Btw, sorry for disturbing. You can close this issue now.

@zim0369 no probs, it’s fine 😃 I agree that having a single app that would do all of this would be very convenient. But since we don’t have it, perhaps future multi-server support is the next best thing. This way you would be able to combine e.g. marksman for intellisense, ltex-ls for spell-check, prettier for formatting, etc.

1reaction
n0s4commented, Sep 20, 2022
  1. Renaming: If there’s a title, say ## pollution then a feature for renaming all it’s occurrences(references).

That can be done in Helix with space-R

Read more comments on GitHub >

github_iconTop Results From Across the Web

my helix doesn't work :-(( - Helix
Ensure that HX Edit is closed and that you have your Helix connected to your PC by USB cable (do not use a...
Read more >
Why can't the Helix just... work? : r/Line6Helix
Helix doesn't have a power amp or a guitar speaker attached to it. No modeller has. Just like a regular combo amp can't...
Read more >
How to Troubleshoot Unable to Submit for Approval Error ...
BMC Helix Remedyforce - How to Troubleshoot Unable to Submit for Approval Error - INCLUDES VIDEO ... Getting certificate errors "unable to get...
Read more >
Problems with the Helix TV terminal - Troubleshooting
Restart your Helix TV terminal. · Make sure your terminal is properly connected to your Helix Fi gateway using the Helix Fi app,...
Read more >
Helix Chatbot: Getting Following Error When Trying To Access ...
Users are getting below error when trying to access Helix IS or Helix Chatbot. ERROR (9867) Admin user not able to get license...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found