From 873fce2089c92209bcb8a193f188ab747b8b5fda Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 7 Sep 2021 16:59:24 +0100 Subject: [PATCH] Sets default fold method to indent --- nvim/.config/nvim/plugin/settings.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/.config/nvim/plugin/settings.vim b/nvim/.config/nvim/plugin/settings.vim index 59ec690b..105d58d0 100644 --- a/nvim/.config/nvim/plugin/settings.vim +++ b/nvim/.config/nvim/plugin/settings.vim @@ -52,6 +52,9 @@ set formatoptions+=o " Show the results of the substitute command as you type set inccommand=nosplit +" Sets the default fold method to indent +set foldmethod=indent + if executable('rg') set grepprg=rg\ --vimgrep\ --no-heading\ --color=never\ --glob=\"!shell-logs/*\" set grepformat=%f:%l:%c:%m,%f:%l:%m