查了半天,打开命令 :filetype一看是关闭的

filetype detection:ON  plugin:ON  indent:OFF

 

在vimrc里打开

filetype indent on  即可

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2021-09-12
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2021-06-09
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案