- Update `apps.nix` with code development utilities: `postgresql` (and `pgcli`), `httpie`, `bruno`, `ruff`, and `mypy`. - Configure Zed editor to utilize `ruff` as the primary Python language server and code formatter - Register essential LSPs in `graphical.nix` to ensure environment-wide availability.
106 lines
2.1 KiB
JSON
106 lines
2.1 KiB
JSON
// Zed settings
|
|
//
|
|
// For information on how to configure Zed, see the Zed
|
|
// documentation: https://zed.dev/docs/configuring-zed
|
|
//
|
|
// To see all of Zed's default settings without changing your
|
|
// custom settings, run `zed: open default settings` from the
|
|
// command palette (cmd-shift-p / ctrl-shift-p)
|
|
{
|
|
"proxy": "",
|
|
"disable_ai": true,
|
|
"project_panel": {
|
|
"hide_gitignore": false,
|
|
"dock": "left"
|
|
},
|
|
"terminal": {
|
|
"shell": "system"
|
|
},
|
|
"prettier": {
|
|
"allowed": true
|
|
},
|
|
"document_symbols": "on",
|
|
"document_folding_ranges": "on",
|
|
"semantic_tokens": "combined",
|
|
"unnecessary_code_fade": 0.3,
|
|
"hide_mouse": "on_typing",
|
|
"cursor_shape": "underline",
|
|
"buffer_font_family": "RobotoMono Nerd Font",
|
|
"cli_default_open_behavior": "new_window",
|
|
"use_system_prompts": false,
|
|
"on_last_window_closed": "platform_default",
|
|
"when_closing_with_no_tabs": "platform_default",
|
|
"session": {
|
|
"trust_all_worktrees": true
|
|
},
|
|
"vim_mode": true,
|
|
"icon_theme": "Zed (Default)",
|
|
"ui_font_size": 16,
|
|
"buffer_font_size": 12.0,
|
|
"theme": {
|
|
"mode": "light",
|
|
"light": "DankShell Light Transparent",
|
|
"dark": "Gruvbox Dark Hard"
|
|
},
|
|
"lsp": {
|
|
"rust-analyzer": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"pyright": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"ruff": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"basedpyright": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"nil": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"nixd": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"jdtls": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"typescript-language-server": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"vtsls": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
}
|
|
},
|
|
"languages": {
|
|
"Python": {
|
|
"language_servers": [
|
|
"pyright",
|
|
"ruff"
|
|
],
|
|
"formatter": {
|
|
"language_server": {
|
|
"name": "ruff"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|