From 4353afd1dee09bbcdc5ae4fa1944dad89d4659cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 27 Sep 2021 18:06:25 +0600 Subject: [PATCH] chore: formated with stylua (#69) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- lua/lualine/utils/notices.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lua/lualine/utils/notices.lua b/lua/lualine/utils/notices.lua index e059805..ab3ff2c 100644 --- a/lua/lualine/utils/notices.lua +++ b/lua/lualine/utils/notices.lua @@ -36,19 +36,19 @@ 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) vim.api.nvim_win_set_buf(winid, bufnr) - vim.wo[winid].winfixheight = true - vim.wo[winid].winfixwidth = true - vim.wo[winid].number = false - vim.wo[winid].foldcolumn = '0' + vim.wo[winid].winfixheight = true + vim.wo[winid].winfixwidth = true + vim.wo[winid].number = false + vim.wo[winid].foldcolumn = '0' vim.wo[winid].relativenumber = false - vim.wo[winid].signcolumn = 'no' - vim.bo[bufnr].filetype = 'markdown' + vim.wo[winid].signcolumn = 'no' + vim.bo[bufnr].filetype = 'markdown' vim.api.nvim_buf_set_keymap(bufnr, 'n', 'q', 'bd', { noremap = true, silent = true }) @@ -62,10 +62,10 @@ 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 + vim.bo[bufnr].modified = false + vim.bo[bufnr].modifiable = false end function M.clear_notices()