chore: formated with stylua (#69)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
05d6a13369
commit
4353afd1de
|
@ -36,7 +36,7 @@ function M.notice_message_startup()
|
|||
end
|
||||
|
||||
function M.show_notices()
|
||||
vim.cmd('silent! keepalt split')
|
||||
vim.cmd 'silent! keepalt split'
|
||||
|
||||
local winid = vim.fn.win_getid()
|
||||
local bufnr = vim.api.nvim_create_buf(false, true)
|
||||
|
@ -62,7 +62,7 @@ function M.show_notices()
|
|||
notice = vim.list_extend(notice, vim.tbl_flatten(notices))
|
||||
vim.fn.appendbufline(bufnr, 0, notice)
|
||||
|
||||
vim.fn.deletebufline(bufnr, #notice, vim.fn.line('$'))
|
||||
vim.fn.deletebufline(bufnr, #notice, vim.fn.line '$')
|
||||
vim.api.nvim_win_set_cursor(winid, { 1, 0 })
|
||||
vim.bo[bufnr].modified = false
|
||||
vim.bo[bufnr].modifiable = false
|
||||
|
|
Loading…
Reference in New Issue