* Revert "feat(#2826): allow only one window with nvim-tree buffer per tab (#3174)" This reverts commitdd2364d680. * Revert "refactor(#2826): View tracks winids and bufnrs via events, unused for now (#3170)" This reverts commit65bae44922. * Revert "refactor(#2826): remove view debug/cc, enable new codepaths for get_winid and get_bufnr (#3169)" This reverts commita9156c0139.
This commit is contained in:
committed by
GitHub
parent
dd2364d680
commit
9b289abd69
@@ -185,7 +185,7 @@ function M.update_coc()
|
||||
|
||||
local bufnr
|
||||
if explorer then
|
||||
bufnr = explorer.view:get_bufnr()
|
||||
bufnr = explorer.view:get_bufnr("diagnostics.update_coc")
|
||||
end
|
||||
|
||||
local should_draw = bufnr and vim.api.nvim_buf_is_valid(bufnr) and vim.api.nvim_buf_is_loaded(bufnr)
|
||||
|
||||
Reference in New Issue
Block a user