fix: update preview window in-place (#74)
This commit is contained in:
parent
b8eaf88c12
commit
57451c517d
2 changed files with 27 additions and 19 deletions
|
|
@ -254,6 +254,9 @@ M.initialize = function(bufnr)
|
|||
callback = function()
|
||||
local oil = require("oil")
|
||||
local parser = require("oil.mutator.parser")
|
||||
if vim.wo.previewwindow then
|
||||
return
|
||||
end
|
||||
|
||||
-- Force the cursor to be after the (concealed) ID at the beginning of the line
|
||||
local adapter = util.get_adapter(bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue