The Gram Code Editor - 2026-07-20


  1. nicoco

    > hello! I'm trying to get the basedpyright language server working and I'm getting this error: `invalid length 1, expected struct NpmInfo with 2 elements at line 3275 column 1`. From looking it up it's apparently an issue with npm v12, but it was fixed in zed very recently... are there any workarounds I could do to get this running? fwiw I use ty/ruff instead. not as feature complete as pyright it seems, but pretty damn good IMHO (despite the parent company recently being bought by openAI đŸ˜­)

  2. nicoco

    ```json "Python": { "language_servers": ["ty", "ruff", "!basedpyright"], "code_actions_on_format": { "source.organizeImports.ruff": true, }, "formatter": { "language_server": { "name": "ruff", }, }, }, ``` if anyone's interested…