add some rust stuff

This commit is contained in:
wires 2025-03-05 11:20:54 -05:00
parent 940179bea5
commit c6895f9a83
Signed by: wires
SSH key fingerprint: SHA256:9GtP+M3O2IivPDlw1UY872UPUuJH2gI0yG6ExBxaaiM
3 changed files with 16 additions and 0 deletions

View file

@ -1,4 +1,5 @@
return { return {
'rust_analyzer',
'lua_ls', 'lua_ls',
'eslint', 'eslint',
'ts_ls', 'ts_ls',

View file

@ -0,0 +1,14 @@
return {
settings = {
['rust-analyzer'] = {
checkOnSave = {
command = 'clippy'
},
cargo = {
buildScripts = {
enable = true
}
}
}
}
}

View file

@ -1,5 +1,6 @@
local config = { local config = {
ensure_installed = { ensure_installed = {
'rust',
'css', 'css',
'html', 'html',
'javascript', 'javascript',