update after a long time ig
This commit is contained in:
54
packages/zed-editor/default.nix
Normal file
54
packages/zed-editor/default.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
home.file."/home/nico/.config/zed/settings.json" = {
|
||||
source = ./settings.json;
|
||||
};
|
||||
# programs.zed-editor = {
|
||||
# enable = true;
|
||||
#
|
||||
# ## This populates the userSettings "auto_install_extensions"
|
||||
# extensions = ["nix" "Catppuccin"];
|
||||
#
|
||||
# ## everything inside of these brackets are Zed options.
|
||||
# userSettings = {
|
||||
# assistant = {
|
||||
# enabled = false;
|
||||
# };
|
||||
#
|
||||
# hour_format = "hour24";
|
||||
# auto_update = false;
|
||||
# lsp = {
|
||||
# rust-analyzer = {
|
||||
# binary = {
|
||||
# path_lookup = true;
|
||||
# };
|
||||
# };
|
||||
# nix = {
|
||||
# binary = {
|
||||
# path_lookup = true;
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
#
|
||||
#
|
||||
# languages = {
|
||||
# };
|
||||
#
|
||||
# vim_mode = true;
|
||||
# ## tell zed to use direnv and direnv can use a flake.nix enviroment.
|
||||
# load_direnv = "shell_hook";
|
||||
# base_keymap = "VSCode";
|
||||
# theme = {
|
||||
# mode = "dark";
|
||||
# light = "Catppuccin frappe";
|
||||
# dark = "Catppuccin mocha";
|
||||
# };
|
||||
# show_whitespaces = "all" ;
|
||||
# ui_font_size = 16;
|
||||
# buffer_font_size = 16;
|
||||
#
|
||||
# };
|
||||
#
|
||||
# };
|
||||
}
|
||||
54
packages/zed-editor/settings.json
Normal file
54
packages/zed-editor/settings.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"diagnostics": {
|
||||
"include_warnings": true,
|
||||
"inline": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"git": {
|
||||
"inline_blame": {
|
||||
"enabled": false
|
||||
}
|
||||
},
|
||||
"ssh_connections": [
|
||||
{
|
||||
"host": "localhost",
|
||||
"projects": [
|
||||
{
|
||||
"paths": [
|
||||
"/home/dev/ids/prog"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"agent": {
|
||||
"enabled": false
|
||||
},
|
||||
"auto_update": false,
|
||||
"base_keymap": "VSCode",
|
||||
"buffer_font_size": 16,
|
||||
"hour_format": "hour24",
|
||||
"languages": {},
|
||||
"load_direnv": "shell_hook",
|
||||
"lsp": {
|
||||
"nix": {
|
||||
"binary": {
|
||||
"path_lookup": true
|
||||
}
|
||||
},
|
||||
"rust-analyzer": {
|
||||
"binary": {
|
||||
"path_lookup": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"show_whitespaces": "all",
|
||||
"theme": {
|
||||
"dark": "Catppuccin Mocha",
|
||||
"light": "Catppuccin frappe",
|
||||
"mode": "system"
|
||||
},
|
||||
"ui_font_size": 16,
|
||||
"vim_mode": true
|
||||
}
|
||||
Reference in New Issue
Block a user