bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
258 stars 27 forks source link

Updated readme to include neovim snippet #108

Closed Rexcrazy804 closed 1 month ago

Rexcrazy804 commented 7 months ago

added a snippet for correctly setting up nvim-lspconfig and re-structured the relevant portions of the document to make the modification cohesive.

[ it took me a fair bit of time to set this up without Folke's neoconf, so for anyone who may need it, this will save them quite a bit of time]

Rexcrazy804 commented 7 months ago

I think I can contribute to the neovim section for #107 Should I make neovim a heading and start from there? I'll leave the vscode as is since I am not so familiar with it.

Rexcrazy804 commented 7 months ago

do you rekon I update this branch? (since its showing that it is out-of-date with the base branch) (seems like its a bunch of new branches so I guess not?)

bram209 commented 1 month ago

Hi, this one slipped through, sorry for the late reply.

Considering there is now a new way to configure rust-analyzer (with a rust-analyzer.toml file), I rewrote the documentation slightly. While doing this, I incorporated your documentation about neovim as well.

You can see the changes here: https://github.com/bram209/leptosfmt/commit/85ad11bae8188e73f20e45efbdaf6ce77564f00d

Thank you for your contribution!