Sets default fold method to indent

This commit is contained in:
Jonathan Hodgson 2021-09-07 16:59:24 +01:00
parent 8cb2d607e6
commit c5571a6de4

View file

@ -52,6 +52,9 @@ set formatoptions+=o
" Show the results of the substitute command as you type " Show the results of the substitute command as you type
set inccommand=nosplit set inccommand=nosplit
" Sets the default fold method to indent
set foldmethod=indent
if executable('rg') if executable('rg')
set grepprg=rg\ --vimgrep\ --no-heading\ --color=never\ --glob=\"!shell-logs/*\" set grepprg=rg\ --vimgrep\ --no-heading\ --color=never\ --glob=\"!shell-logs/*\"
set grepformat=%f:%l:%c:%m,%f:%l:%m set grepformat=%f:%l:%c:%m,%f:%l:%m