mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-06-08 22:24:36 +02:00
zed adjustments
This commit is contained in:
parent
0220e14293
commit
2b05760f43
1 changed files with 8 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
{ pkgs, config, ... }:
|
||||
|
||||
let
|
||||
nixGL = config.lib.nixGL.wrap;
|
||||
in
|
||||
{
|
||||
programs.zed-editor = {
|
||||
enable = if (config.machine.isGraphical && !config.machine.isGeneric) then true else false;
|
||||
enable = if config.machine.isGraphical then true else false;
|
||||
package = if config.machine.isGeneric then (nixGL pkgs.zed-editor) else pkgs.zed-editor;
|
||||
extensions = [
|
||||
"xy-zed"
|
||||
"nix"
|
||||
|
@ -25,6 +29,9 @@
|
|||
auto_update = false;
|
||||
icon_theme = "Material Icon Theme";
|
||||
hour_format = "hour24";
|
||||
features = {
|
||||
edit_prediction_provider = "copilot";
|
||||
};
|
||||
tabs = {
|
||||
file_icons = true;
|
||||
git_status = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue