Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This won't affect 4-space indentation in any way. While the chance we find tab characters inside Rust sources is slim, it is best to have the tab character displayed in accordance to terminals and printers, where tabstop=8. Even Vim doc says: Note: Setting 'tabstop' to any other value than 8 can make your file appear wrong in many places (e.g., when printing it). Here's the full spec of settings for 4-space indentation in Vim: set tabstop=8 "A tab is 8 spaces set expandtab "Always uses spaces instead of tabs set softtabstop=4 "Insert 4 spaces when tab is pressed set shiftwidth=4 "An indent is 4 spaces More details: https://www.reddit.com/r/vim/wiki/tabstop
- Loading branch information