Sets default fold method to indent

master
Jonathan Hodgson 3 years ago
parent 8cb2d607e6
commit c5571a6de4
  1. 3
      nvim/.config/nvim/plugin/settings.vim

@ -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

Loading…
Cancel
Save