Add rust dev packges

main
jri 9 months ago
parent 81ff5c36cc
commit b9c44b6ff2

@ -6,9 +6,13 @@ args = ["lsp-proxy"]
command = "roc_lang_server" command = "roc_lang_server"
args = [] args = []
[language-server.graphql-language-service]
command = "graphql-lsp"
args = ["server", "-m", "stream"]
[[language]] [[language]]
name = "typescript" name = "typescript"
language-servers = ["typescript-language-server", "biome"] language-servers = ["typescript-language-server", "biome", "graphql-language-service"]
auto-format = true auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] } formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }

@ -17,6 +17,8 @@
thefuck thefuck
hyperfine hyperfine
most most
direnv
htop
# other dev tools # other dev tools
insomnia insomnia
@ -40,6 +42,13 @@
kotlin-language-server kotlin-language-server
jdt-language-server jdt-language-server
gradle gradle
# rust packages
rustup
rust-analyzer
cargo-edit
cargo-release
cargo-lambda
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.

@ -187,8 +187,14 @@ $env.config = {
}] }]
env_change: { env_change: {
PWD: [{|before, after| PWD: [{|before, after|
null # replace with source code to run if the PWD environment is different since the last repl input {{#if-installed direnv}}
}] if (which direnv | is-empty) {
return
}
direnv export json | from json | default {} | load-env
{{/if-installed}}
}]
} }
} }
menus: [ menus: [

Loading…
Cancel
Save