Skip to content

Commit 87c745d

Browse files
authored
Stop setting 'tabstop' (#436)
Rust code should not have tabstops, so there is no reason to configure their apperance. If the code does have tabstops the user should see the tabs as configured in vimrc. There are some reasons why it should not be 4: 46bfb18 Fixes #393.
1 parent 96e79e3 commit 87c745d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/rust.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ setlocal smartindent nocindent
4747

4848
if get(g:, 'rust_recommended_style', 1)
4949
let b:rust_set_style = 1
50-
setlocal tabstop=8 shiftwidth=4 softtabstop=4 expandtab
50+
setlocal shiftwidth=4 softtabstop=4 expandtab
5151
setlocal textwidth=99
5252
endif
5353

0 commit comments

Comments
 (0)