Skip to content

Commit

Permalink
Stop setting 'tabstop' (#436)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wonkodv committed Feb 15, 2021
1 parent 96e79e3 commit 87c745d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ setlocal smartindent nocindent

if get(g:, 'rust_recommended_style', 1)
let b:rust_set_style = 1
setlocal tabstop=8 shiftwidth=4 softtabstop=4 expandtab
setlocal shiftwidth=4 softtabstop=4 expandtab
setlocal textwidth=99
endif

Expand Down

0 comments on commit 87c745d

Please sign in to comment.