This repository was archived by the owner on Feb 13, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
homes/x86_64-linux/jo/apps/zed Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 enable-nix = true ;
66 enable-php = true ;
77 enable-python = true ;
8+ enable-typescript = true ;
89 } ;
910}
Original file line number Diff line number Diff line change 1717 enable-nix = mkEnableOption "support for the Nix language, based on nixd, in Zed." ;
1818 enable-php = mkEnableOption "support for the PHP language, based on phpactor and pretty-php, in Zed." ;
1919 enable-python = mkEnableOption "support for the Python language, based on pylsp, in Zed." ;
20+ enable-typescript = mkEnableOption "support for the TypeScript language, based on bun and oxc, in Zed." ;
2021 } ;
2122
2223 config = mkIf cfg . enable {
9293 } ;
9394 } ;
9495 } ;
96+ TypeScript = mkIf cfg . enable-typescript {
97+ language_servers = [
98+ "vtsls"
99+ "oxlint"
100+ "oxfmt"
101+ "!eslint"
102+ ] ;
103+ formatter = "language_server" ;
104+ } ;
95105 } ;
96106
97107 ### Base editor configurations
137147
138148 extraPackages =
139149 with pkgs ;
140- [ oxlint ]
150+ [
151+ oxlint
152+ oxfmt
153+ ]
141154 ++ lib . optionals cfg . enable-nix [
142155 nixd
143- nixfmt-rfc-style
156+ nixfmt
144157 ]
145158 ++ lib . optionals cfg . enable-python [
146159 python3Packages . python-lsp-server
You can’t perform that action at this time.
0 commit comments