- NixOS: Add required LSP and formatter binaries (`prettier`, etc.) to
`modules/user/graphical.nix`
- Zed: Register language server binaries (`lua-lsp`, `taplo`,
`marksman`) in `settings.json` to ensure path lookup.
- Neovim:
- Add native LSP configuration for Rust, Nix, TypeScript, Lua, TOML,
and Markdown
- Implement native LSP-based auto-completion (utilizing
`vim.lsp.completion` for Neovim 0.11+).
121 lines
2.3 KiB
JSON
121 lines
2.3 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
|
|
}
|
|
},
|
|
"lua-language-server": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"taplo": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
},
|
|
"marksman": {
|
|
"binary": {
|
|
"path_lookup": true
|
|
}
|
|
}
|
|
},
|
|
"languages": {
|
|
"Python": {
|
|
"language_servers": [
|
|
"pyright",
|
|
"ruff"
|
|
],
|
|
"formatter": {
|
|
"language_server": {
|
|
"name": "ruff"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|