Thomas Gideon
b135ce095b
- 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
18 lines
317 B
Lua
18 lines
317 B
Lua
vim.g.rustaceanvim = {
|
|
server = {
|
|
default_settings = {
|
|
['rust-analyzer'] = {
|
|
cargo = {
|
|
features = {
|
|
"ssr"
|
|
},
|
|
},
|
|
rustfmt = {
|
|
overrideCommand = {
|
|
"leptosfmt", "--stdin", "--rustfmt"
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|