vimrc/projects/leptos.lua
Thomas Gideon b135ce095b Add project files
- text.lua for markdown focused projects like personal wiki, diary
- leptos.lua for Rust projects using leptos, to set some rust-analyzer
  settings that help with with conditional compilation used by
  cargo-leptos
2024-06-24 10:27:53 -04:00

18 lines
317 B
Lua

vim.g.rustaceanvim = {
server = {
default_settings = {
['rust-analyzer'] = {
cargo = {
features = {
"ssr"
},
},
rustfmt = {
overrideCommand = {
"leptosfmt", "--stdin", "--rustfmt"
},
},
},
},
},
}