diff options
author | Abouzar Parvan <[email protected]> | 2021-07-15 22:39:40 +0430 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-15 14:09:40 -0400 |
commit | eb88a16c7eea0ea0986e9051536e29031a9f47dd (patch) | |
tree | 2f3c8af5d0e1942cce05c5b0b43acc650f8fd24f /lua/default-config.lua | |
parent | 554b6f086baf6c4a7b3991f4b1bec2051de43d08 (diff) |
add option to use change folding mode (#978)
Diffstat (limited to 'lua/default-config.lua')
-rw-r--r-- | lua/default-config.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index b8a99351..43b97e35 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -20,6 +20,8 @@ O = { completeopt = { "menuone", "noselect" }, conceallevel = 0, -- so that `` is visible in markdown files fileencoding = "utf-8", -- the encoding written to a file + foldmethod = "manual", -- folding, set to "expr" for treesitter based foloding + foldexpr = "", -- set to "nvim_treesitter#foldexpr()" for treesitter based folding guifont = "monospace:h17", -- the font used in graphical neovim applications hidden = true, -- required to keep multiple buffers and open multiple buffers hlsearch = true, -- highlight all matches on previous search pattern |