mirror of
https://github.com/neovim/neovim.git
synced 2026-03-06 17:17:21 +00:00
feat(buffer_updates): allow ignoring when previewing
Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
This commit is contained in:
@@ -50,7 +50,7 @@ function M._create_parser(bufnr, lang, opts)
|
||||
end
|
||||
end
|
||||
|
||||
a.nvim_buf_attach(self.bufnr, false, {on_bytes=bytes_cb, on_detach=detach_cb})
|
||||
a.nvim_buf_attach(self.bufnr, false, {on_bytes=bytes_cb, on_detach=detach_cb, preview=true})
|
||||
|
||||
self:parse()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user