master #1

Open
oli wants to merge 912 commits from master into lua
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 2c4617f462 - Show all commits

View File

@@ -48,3 +48,8 @@ opt.smartindent= true
-- disable nvim intro -- disable nvim intro
opt.shortmess:append('sI') opt.shortmess:append('sI')
-- Treesitter based folding
opt.foldlevel = 20
opt.foldmethod = 'expr'
opt.foldexpr = 'nvim_treesitter#foldexpr()'

View File

@@ -167,4 +167,11 @@ command_center.add({
{ 'n', '<leader>a', silent_noremap }, { 'n', '<leader>a', silent_noremap },
}, },
}, },
{
description = 'Toggle fold',
cmd = 'za',
keybindings = {
{ 'n', '<space>x', silent_noremap },
},
},
}) })