The Gram Code Editor - 2026-05-12


  1. Patrick

    that's more of an invite :-)

  2. Patrick

    By the way, the codeberg project still points at the old URL: https://codeberg.org/GramEditor/

  3. krig

    Ah, thank you, will fix

  4. funklass

    Hey! I'm trying to use Gram instead of Zed for remote development with Nix and Haskell. I built the Zed Haskell extension but when I open a Haskell file nothing happens. When I also open a Rust file I get the small "language servers" icon in the bottom left, but it doesn't show Haskell at all. The "configure language servers" also doesn't list Haskell in any way. Does anybody have ideas what's going on there?

  5. Patrick

    I had to add some stuff to settings.jsonc manually for Gram to pick up some LSPs, but not sure if that's Gram or me: For my use case it was {"Languages": {"Python": { "language_servers": ["pylsp"]}}} , maybe something like that helps for you as well?

  6. funklass

    Hmm no luck so far, neither with adding it in the languages section or the lsp section 🙁

  7. krig

    Guessing that the build failed, does it show up in the extensions UI?

  8. krig

    otherwise it sounds like maybe the extension is broken in some way..

  9. funklass

    > Guessing that the build failed, does it show up in the extensions UI? It does show up in the extensions UI, yes, just not under Language Severs 🫠

  10. krig

    The extension code says ”hls must be installed via ghcup” but yeah it should show up in the LSP UI

  11. krig

    check the log with command palette open logs and see if the build failed

  12. funklass

    ``` 2026-05-12T14:43:58+02:00 INFO [extension::extension_builder] git_dir="/home/<usr>/.local/share/gram/extensions/installed/haskell/grammars/alex/.git" 2026-05-12T14:43:58+02:00 ERROR [crates/extension_host/src/extension_host.rs:732] failed to compile grammar 'alex' Caused by: grammar directory '/home/<usr>/.local/share/gram/extensions/installed/haskell/grammars/alex' already exists, but is not a git clone of 'https://github.com/brandonchinn178/tree-sitter-alex' ```

  13. funklass

    Yeah there is an error, weird that it didn't show up in any other way. Also not really sure what this means or what I should do 😅

  14. krig

    yeah the error reporting is terrible 😞

  15. krig

    hmm well that’s weird. Maybe the best thing to do is uninstall the extension, make sure it’s gone from the local/share/…/haskell

  16. krig

    and then install again

  17. funklass

    I'll try that tomorrow, thanks for the help so far!