.vimrc configuration for Python

前端 未结 6 523
小鲜肉
小鲜肉 2020-12-23 14:53

My current .vimrc configuration is below:

set nohlsearch
set ai
set bg=dark
set showmatch
highlight SpecialKey ctermfg=DarkGray
set listchars=tab:>-,trail         


        
6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-23 15:35

    You shouldn't have to explicitly indent python keywords. The $VIM/indent/python.vim file takes care of that. You just need to turn on filetype indent and autoindent.

提交回复
热议问题