Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/solareenlo/vimrc-rust
My .vimrc for Rust
https://github.com/solareenlo/vimrc-rust
rust vimrc
Last synced: 4 days ago
JSON representation
My .vimrc for Rust
- Host: GitHub
- URL: https://github.com/solareenlo/vimrc-rust
- Owner: solareenlo
- Created: 2021-09-09T06:42:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T19:13:22.000Z (about 2 years ago)
- Last Synced: 2024-11-08T02:45:57.543Z (about 2 months ago)
- Topics: rust, vimrc
- Language: Vim Script
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vimrc-rust
- My `.vimrc` for Rust## Usage
```shell
# Install Rust toolchain
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Ref: https://www.rust-lang.org/ja/tools/install# or update rustup
rustup update# Rust fomatter
which rustfmt
# Rust linter
which cargo-clippy
# If it is not installed, execute the following command.
rustup component add rustfmt clippy
# Ref: https://emacs-jp.github.io/env/rust# Install Rust LSP Server
rustup component add rls rust-analysis rust-src
# Ref: https://github.com/rust-lang/rls# Install cargo-edit
cargo install cargo-edit
# Ref: https://emacs-jp.github.io/env/rust
```## References
- [Rust開発環境構築](https://zenn.dev/m3y/articles/df5a52452cfdbe7cd5eb)
- [Rustプログラミングのための環境構築](https://emacs-jp.github.io/env/rust)
- [rust-lang/rls](https://github.com/rust-lang/rls)
- [Implementations Language Servers](https://microsoft.github.io/language-server-protocol/implementors/servers/)