You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// optional:
// "component",
…
// if code that is cfg-gated for the `ssr` feature is shown as inactive,
// you may want to tell rust-analyzer to enable the `ssr` feature by default
//
// you can also use `rust-analyzer.cargo.allFeatures` to enable all features
because a warning appears that the JSON was invalid if comments are in them. Maybe someone can incorporate this in the book or find another good place where Kate users can find it and @bram209 might find this useful as well for rustfmt.
The text was updated successfully, but these errors were encountered:
Figured out how to do this on a per-project basis: You need to create a .kateproject file in your Leptos project's root directory that looks like this:
Kate's LSP client configuration is its own science. Therefore I want to share my configuration that includes
ssr
andleptosfmt
override:I did not include the comments
because a warning appears that the JSON was invalid if comments are in them. Maybe someone can incorporate this in the book or find another good place where Kate users can find it and @bram209 might find this useful as well for
rustfmt
.The text was updated successfully, but these errors were encountered: