mirror of
https://github.com/tiyn/nvim-docs-view.git
synced 2025-11-13 13:59:46 +01:00
feat: unlist docs view buffer from buffer list
This commit is contained in:
@@ -40,6 +40,7 @@ M.toggle = function()
|
||||
vim.api.nvim_buf_set_option(buf, "swapfile", false)
|
||||
vim.api.nvim_buf_set_option(buf, "bufhidden", "wipe")
|
||||
vim.api.nvim_buf_set_option(buf, "filetype", "nvim-docs-view")
|
||||
vim.api.nvim_buf_set_option(buf, "buflisted", false)
|
||||
|
||||
vim.api.nvim_set_current_win(prev_win)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user