|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|