From 1ba10941b1d43297f31912225cba9e3476132f24 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Sat, 30 Oct 2021 17:47:00 +0300 Subject: [PATCH] fix: update folding --- lua/options.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/options.lua b/lua/options.lua index 4229058..4fa4f82 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -84,9 +84,12 @@ opt('errorbells', false) -- Always use system clipboard opt('clipboard', 'unnamedplus') +-- Folding options +opt('foldmethod', 'indent') +opt('foldlevelstart', 99) + -- Identation/Tab settings local tab_size = 2 -opt('foldmethod', 'indent') opt('expandtab', false, buffer) opt('smartindent', true, buffer) opt('shiftwidth', tab_size, buffer)