mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-12 21:13:48 -05:00
Stop enabling shiftround; it breaks indent/outdent
The shiftround setting breaks many common cases of multi-line indent and
outdent for continuation lines. For example, suppose I have the
following code, in a buffer with 8-space indentation:
foo(x,
y)
With the default settings, I can > those two lines, and end up with this:
foo(x,
y);
But with shiftround, I instead end up with:
foo(x,
y);
Thus, revert to the vim default of noshiftround.
This commit is contained in:
@@ -23,7 +23,6 @@ set complete-=i
|
||||
set smarttab
|
||||
|
||||
set nrformats-=octal
|
||||
set shiftround
|
||||
|
||||
set ttimeout
|
||||
set ttimeoutlen=100
|
||||
|
||||
Reference in New Issue
Block a user