liuchengxu / space-vim

:four_leaf_clover: Lean & mean spacemacs-ish Vim distribution
https://liuchengxu.github.io/space-vim/
MIT License
2.86k stars 255 forks source link

Disable automatically expanding indent. #404

Closed leonexu closed 4 years ago

leonexu commented 5 years ago

Environment

Problem Description

Hello, When I run nvim under tmux (2.1), when the cursor passes by a line heading with a two-space indent, the indent will be automatically displayed as four spaces. The attached images are examples: This is the original file: image This is what the file looks like after the cursor passes by the lines. image

Seems that this problem does not occur when tmux is not launched. How can I disable this auto expanding? Thanks.