Zed: Difference between revisions

Merrkry (talk | contribs)
Update LSP support section with latest changes in upstream and nixpkgs.
Call out the flake that is provided in the Zed repo.
Line 11: Line 11:
Zed requires a GPU with [[Graphics#Vulkan|Vulkan]] support, otherwise it will prompt you to use a very inefficient "emulated GPU" mode. This is available thru `nixGL` by using the Vulkan wrappers, or via home-manager nixGL integration by setting the <code>nixGL.vulkan.enable = true</code>.   
Zed requires a GPU with [[Graphics#Vulkan|Vulkan]] support, otherwise it will prompt you to use a very inefficient "emulated GPU" mode. This is available thru `nixGL` by using the Vulkan wrappers, or via home-manager nixGL integration by setting the <code>nixGL.vulkan.enable = true</code>.   
On non-NixOS systems this method of providing Vulkan support via NixGL has even been demonstrated that it can be more consistent/stable than relying on native host system support. The Vulkan libraries of Ubuntu 24.04 for example don't provide the same level of support between X11 and Wayland environments, and don't meet the Zed minimum Vulkan API requirements under X11, but the nixGL wrapper with Vulkan support does (for a GPU that actually supports the features).
On non-NixOS systems this method of providing Vulkan support via NixGL has even been demonstrated that it can be more consistent/stable than relying on native host system support. The Vulkan libraries of Ubuntu 24.04 for example don't provide the same level of support between X11 and Wayland environments, and don't meet the Zed minimum Vulkan API requirements under X11, but the nixGL wrapper with Vulkan support does (for a GPU that actually supports the features).
=== Flake ===
Zed provides a flake at https://github.com/zed-industries/zed/blob/main/flake.nix. As `zed` updates frequently, you may prefer this option over nixpkgs.


== LSP Support ==
== LSP Support ==