refactor: format tables line by line for better readability (#2456)

* Format tables line by line for better readability

* Forgot a comma

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
Azad
2023-10-14 09:07:28 +02:00
committed by GitHub
parent e64a498a5e
commit 4054fc4be3
13 changed files with 117 additions and 22 deletions

View File

@@ -176,7 +176,13 @@ local function open()
vim.wo[M.winnr].cursorline = M.config.cursorline
-- quit binding
vim.keymap.set("n", "q", close, { desc = "nvim-tree: exit help", buffer = M.bufnr, noremap = true, silent = true, nowait = true })
vim.keymap.set("n", "q", close, {
desc = "nvim-tree: exit help",
buffer = M.bufnr,
noremap = true,
silent = true,
nowait = true,
})
-- close window and delete buffer on leave
vim.api.nvim_create_autocmd({ "BufLeave", "WinLeave" }, {