Zed: Difference between revisions
No edit summary |
Linusemr618 (talk | contribs) m Add GitHub Copilot issues to →Troubleshooting |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 33: | Line 33: | ||
=== Imperative === <!--T:4--> | === Imperative === <!--T:4--> | ||
==== Zed's Flake ==== | ==== Zed's Flake ==== <!--T:45--> | ||
</translate> | </translate> | ||
| Line 274: | Line 274: | ||
<!--T:19--> | <!--T:19--> | ||
The <code>userSettings</code> and <code> | The <code>userSettings</code> and <code>userKeymaps</code> options translate directly into JSON. The <code>extraPackages</code> option includes additional Nixpkgs in the FHS environment, useful for LSP servers (e.g., <code>pkgs.nixd</code>) or optional tools (e.g., <code>pkgs.shellcheck</code> for the Basher LSP). | ||
<!--T:20--> | <!--T:20--> | ||
| Line 435: | Line 435: | ||
<!--T:41--> | <!--T:41--> | ||
When Zed reports missing tools, add the required executables to <code>programs.zed-editor.extraPackages</code> or wrap the server using <code>pkgs.writeShellApplication</code>. | When Zed reports missing tools, add the required executables to <code>programs.zed-editor.extraPackages</code> or wrap the server using <code>pkgs.writeShellApplication</code>. | ||
</translate> | |||
==== GitHub Copilot CLI not logging in ==== | |||
<translate> | |||
GitHub Copilot CLI (External Agent) may fail to log in because of issues with the libsecret library. If you use [[Nix-ld]], enable the following libraries: | |||
{{file|configuration.nix|nix|<nowiki> | |||
{ | |||
programs.nix-ld.libraries = with pkgs; [ | |||
libsecret | |||
glib | |||
]; | |||
} | |||
</nowiki>}} | |||
</translate> | </translate> | ||