gvim - The problem of the indentation of the previous line changing after a new line when vim edits the html file
世界只因有你
世界只因有你 2017-05-16 16:42:52
0
1
636

For example, take this code. Note that there are three spaces in front of the <li> tag, and my vim settings are as follows

set tapstop=4
set softtabstop=4
set shiftwidth=4

The reason why there are three spaces in front of the <li> tag is because I am changing someone else’s code and I don’t want to mess up the original indentation

<ul>
   <li>**光标所在处,在此处回车**
   </li>
</ul>

Enter at the marked position above, <li>the three spaces in front of this label will be replaced with tabs, as shown in the figure

How to solve this problem of changing the indentation of the previous line by changing the line?

世界只因有你
世界只因有你

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!