add some config for helix and zed

This commit is contained in:
ulic-youthlic 2025-04-30 13:15:56 +08:00
parent 23a5ca1f1d
commit 03d5d219e8
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 87 additions and 35 deletions

View file

@ -1,11 +1,2 @@
{
"languages": {
"Nix": {
"formatter": {
"external": {
"command": "alejandra"
}
}
}
}
}

View file

@ -14,23 +14,23 @@ Hey, you. This is my nixos configurations.
- david@Tytonidae
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | --------- | ----------- | ------ | -------- | --------------- | ------- | -------------- |
| default | niri | fish + bash | helix | ghostty | fuzzel | firefox | gdm |
| cosmic | cosmic de | fish + bash | helix | ghostty | cosmic-launcher | firefox | cosmic-greeter |
| kde | kde | fish + bash | helix | ghostty | - | firefox | sddm |
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | --------- | ----------- | ----------- | -------- | --------------- | ------- | -------------- |
| default | niri | fish + bash | helix + zed | ghostty | fuzzel | firefox | gdm |
| cosmic | cosmic de | fish + bash | helix + zed | ghostty | cosmic-launcher | firefox | cosmic-greeter |
| kde | kde | fish + bash | helix + zed | ghostty | - | firefox | sddm |
- david@Akun
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | ------- | ----------- | ------ | -------- | -------- | ------- | -------------- |
| default | cosmic | fish + bash | helix | ghostty | - | firefox | cosmic-greeter |
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | ------- | ----------- | ----------- | -------- | -------- | ------- | -------------- |
| default | cosmic | fish + bash | helix + zed | ghostty | - | firefox | cosmic-greeter |
- alice@Cape
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | ------- | ----------- | ------ | -------- | -------- | ------- | --- |
| default | - | fish + bash | helix | - | - | - | - |
| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM |
| -------------- | ------- | ----------- | ------ | -------- | -------- | ------- | -- |
| default | - | fish + bash | helix | - | - | - | - |
## FlakE OutputS and StructurE

View file

@ -16,29 +16,86 @@ in {
programs.zed-editor = {
enable = true;
extensions = [
"nix"
"html"
"java"
"git-firely"
"make"
"asciidoc"
"basher"
"cargo-tom"
"codebook"
"deno"
"java-eclipse-jdtlS"
"neocMake"
"typst"
"toml"
"docker-compose"
"dockerfile"
"fish"
"git-firefly"
"golangci-lint"
"haskell"
"html"
"hurl"
"idris2"
"java"
"java-eclipse-jdtls"
"kdl"
"kotlin"
"lua"
"make"
"markdown-oxide"
"neocmake"
"nix"
"python-refactoring"
"python-requirements"
"scheme"
"toml"
"typst"
"xml"
"zig"
];
extraPackages = with pkgs; [
nixd
nil
neocmakelsp
deno
jdt-language-server
idris2Packages.idris2Lsp
lua-language-server
bash-language-server
shfmt
hurl
cmake-language-server
kdlfmt
rustfmt
clang-tools
libxml2
typstyle
pyright
ruff
gotools
yaml-language-server
taplo
alejandra
markdown-oxide
marksman
nixd
deno
alejandra
vscode-langservers-extracted
fish-lsp
tailwindcss-language-server
gopls
golangci-lint-langserver
tinymist
delve
lldb
rust-analyzer
# nil
haskell-language-server
neocmakelsp
jdt-language-server
zls
];
userSettings = {
languages = {
Nix = {
language_servers = ["nixd" "!nil"];
formatter = {
external = {
command = "alejandra";
arguments = ["--quiet" "--"];
};
};
};
};
soft_wrap = "editor_width";
autosave = "on_focus_change";
auto_update = false;

View file

@ -12,6 +12,7 @@
idris2Packages.idris2Lsp
lua-language-server
bash-language-server
shfmt
hurl
cmake-language-server
kdlfmt
@ -31,6 +32,7 @@
alejandra
vscode-langservers-extracted
fish-lsp
tailwindcss-language-server
gopls
golangci-lint-langserver
tinymist
@ -40,6 +42,8 @@
# nil
haskell-language-server
neocmakelsp
jdt-language-server
zls
]
);
in