lispdocs.nvim
lispdocs.nvim copied to clipboard
unfold doc buffer
@tami5 hi, I use specific markdown fold settings, but I want not to use them inside the doc buffer. I came up with something like:
let g:lispdocs_mappings = 0
nnoremap <silent><leader>hh :lua require'lispdocs'.split{buf = {set = nofoldenable}}<cr>
but it has not any effect for me. May you pls provide with insight of how setting up it properly?
Oh I see, okay try buf = {foldenable = false}
.
@tami5 thank you for the response, unfortunately it doesn't work (no effect as well as no error), buf = {nofoldenable = true}
didn't help either
Okay this neovim core issue 😆 sometimes some setting works on window level other time on a buffer level. so win = {foldenable = false}
or win = {nofoldenable = true}
will work (I hope)
Neither of those two work for me: The mapping looks like:
nnoremap <silent><leader>hh :lua require'lispdocs'.split{win = {nofoldenable = true}}<cr>
but still has no effect. If I send :setlocal nofoldenable
on a buffer it leads to no problem and works as expected.