Skip to content

Commit

Permalink
output: honor the 'modifiable' config
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunmahishi committed Nov 29, 2023
1 parent 7e70b0d commit d774109
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/flow/output.lua
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ local function stream_output(cmd, options)
end

vim.api.nvim_buf_set_lines(buffer, -1, -1, false, {"[exit code: " .. data .. "]"})
vim.api.nvim_buf_set_option(buffer, 'modifiable', options.modifiable or default_modifiable)
end,
})
end
Expand Down

0 comments on commit d774109

Please sign in to comment.