The Gram Code Editor - 2026-11-03


  1. Enator18

    hey, I just found this editor and it looks really nice. One issue I have run into is that there are heavy performance issues in very large zig files. If I try to open vk.zig which is the generated zig vulkan bindings, and is about 65k lines, it starts to chug really hard. I tried opening some really really big c files: miniaudio.h (96k lines) and flecs.c (125k lines) and it was perfectly smooth with them. Is this a solvable issue or just a fundamental limitation?

  2. krig

    Hmm, that’s weird. I guess it’s the zig LSP that is slowing down perhaps. But it could also be the tree-sitter grammar..

  3. Enator18

    yeah I don't think it is the lsp because I am able to open the file in other ides with zls running and it is fine, so I guess it would be the tree-sitter grammar, but I don't really know how that works

  4. bro

    I am having trouble installing the Vue extension in Gram. I followed the instructions here: https://codeberg.org/GramEditor/gram/issues/446#issuecomment-21365801 and installed rust through homebrew which resolved the first error. I get an error stating the building/compiling of the extension failed. When clicking 'learn more' it shows `extensions/installing-extensions` page. How can I solve this issue, sorry if this is the wrong place to ask, I was not sure where to ask. It regards the Vue extension which people in the linked issue also had issues with

  5. bro

    Installing `rust-wasm` from brew, retained the same error btw

  6. bro

    From `rustup` I installed `rust`, and additionally I installed `rust` from brew manually. Maybe that causes issues? I am not sure

  7. krig

    yeah I think the homebrew rust has issues compiling wasm unfortunately, it can’t find the WASI SDK or some issue like that, I don’t remember exactly.. it works best if you use rustup only

  8. krig

    installing rustup from brew also causes trouble by the way 😅 so best is to use their own installer

  9. bro

    I also had issues with the dnf package. I will try installing it from the website and see how that goes :/

  10. krig

    OK, let me know. If it doesn’t work you should see logs using the gram: open logs command from the command palette

  11. bro

    After a restart it did detect `rustc` and installed. But I get a new error: ``` Language server vue-language-server: error while executing at wasm backtrace: 0: 0x4fb5e - <unknown>!<wasm function 3> 1: 0x1da8b - zed_vue.wasm!zed_extension_api[121966fa69ba5858]::wit::zed::extension::nodejs::npm_install_package 2: 0x5a62 - zed_vue.wasm!<zed_vue[980f5669f9d5eaa5]::VueExtension as zed_extension_api[121966fa69ba5858]::Extension>::language_server_command 3: 0x12f95 - zed_vue.wasm!zed_extension_api[121966fa69ba5858]::wit::_export_language_server_command_cabi::<zed_extension_api[121966fa69ba5858]::Component> 4: 0x1a387 - zed_vue.wasm!language-server-command: binary download not allowed for @vue/language-server ```

  12. bro

    Ah, that meant I had to enable downloading the binary which worked

  13. bro

    Then I had a can't enter compont error, but a restart of Gram fixed that again. Thanks for the help!

  14. krig

    great! Yeah it’s a pain, hoping to improve things soon

  15. bro

    That would be nice, is that something Gram can do or does it require changes from rustup's side. I read something about rewriting extensions in Lua, would such a solution solve it?

  16. krig

    yeah one thing is use lua extensions would simplify requirements, and the other is better permissions that is less confusing to get right

  17. bro

    Makes sense, thanks for your work!

    ❤️ 1