From 213b30950e6a6c08c1e460e5dab71dfc8513c927 Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 4 Aug 2022 19:24:05 +1000 Subject: [PATCH] the missing options for treesitter folding --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa78317..774acb9 100644 --- a/README.md +++ b/README.md @@ -257,6 +257,7 @@ require'navigator'.setup({ -- end, -- The attach code will apply to all LSP clients + ts_fold = false, -- modified version of treesitter folding default_mapping = true, -- set to false if you will remap every key or if you using old version of nvim- keymaps = {{key = "gK", func = vim.lsp.declaration, desc = 'declaration'}}, -- a list of key maps -- this kepmap gK will override "gD" mapping function declaration() in default kepmap @@ -872,7 +873,7 @@ Codelens for C++/ccls. Symbol reference ### VS-code style folding with treesitter -Folding is using a hacked version of treesitter folding. +Folding is using a hacked version of treesitter folding. (option: ts_fold) #### folding function