3 ms·
What I personally did not like is: I'm very minimal vim user, I don't use plugins or plugin managers, I just setup some basic options like syntax highlighting a
by vbezhenar 9y ago
What I personally did not like is: I'm very minimal vim user, I don't use plugins or plugin managers, I just setup some basic options like syntax highlighting and auto indentation. All I wanted from Rust plugin is to enable syntax highlighting and some reasonable indentation. But it turns out that I must install some kind of plugin manager just for rust plugin and I would receive lots of bells and whistles that I'm not interested, at least while I'm learning.
Actually I think it's the same problem with golang. Last time I used it, I had to browse VCS history of go project, they shipped vim plugin long time ago but then deleted it, I had to recover it from there and install it into ~/.vim/.
- steveklabnik 9y agoYou don't have to use a plugin manager, that's just how many people use plugins. Furthermore, earlier in the year I upstreamed rust.vim https://github.com/vim/vim/pull/1356/ https://github.com/vim/vim/pull/1356/ So if you're using a new enough vim, you shouldn't even need the plugin.
- JoshTriplett 9y agoAnd thank you for that, because it works out of the box for me.
- vbezhenar 9y agoThanks, didn't know about that.
- cesarb 9y ago> But it turns out that I must install some kind of plugin manager just for rust plugin It's not well documented, but there's a much simpler way, which I used until recently (newer versions of vim already come with syntax highlighting for Rust out of the box): Checkout https://github.com/rust-lang/rust.vim https://github.com/rust-lang/rust.vim and copy everything there except the README/LICENSE/.gitignore to your ~/.vim directory, keeping the exact same directory structure.