diff --git a/autoload/utils.vim b/autoload/utils.vim index 5e762f3..7463e74 100644 --- a/autoload/utils.vim +++ b/autoload/utils.vim @@ -180,7 +180,8 @@ function! utils#CaptureCommandOutput(command) abort call v:lua.vim.notify("command output captured to register m", "info", {'title': 'nvim-config'}) "create a scratch buffer for dumping the text, ref: https://vi.stackexchange.com/a/11311/15292. tabnew | setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile - call nvim_buf_set_lines(0, 0, 0, 0, [@m]) + + put! m endfunction " Edit all files matching the given patterns.