Browse Source

add foldmethod=indent to vimrc for python files

master
dummy 7 years ago
parent
commit
d4fe57e278
  1. 3
      vim/.vimrc

3
vim/.vimrc

@ -164,6 +164,9 @@ augroup vimrc
" glsl filetype plugin " glsl filetype plugin
autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl
" set foldmethod to indent for python files
autocmd FileType python setlocal foldmethod=indent
augroup END augroup END

Loading…
Cancel
Save