chore: Fix formatting

This commit is contained in:
Donovan Glover 2024-03-09 17:48:18 -05:00
parent a7877944f4
commit 1287f7dabc
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -181,7 +181,7 @@ in
nnoremap <silent> <leader>b :Vista!!<CR>
vnoremap <C-s> y:silent !notify-send -t 4000 "" "$(tango '<C-r>0')"<CR>:<Esc>
autocmd BufNewFile,BufRead *.ecr setlocal syntax=html
autocmd BufNewFile,BufRead *.ecr setlocal syntax=html
autocmd BufWritePre,FileWritePre * silent! call mkdir(expand('<afile>:p:h'), 'p')
autocmd VimEnter * silent! :cd `git rev-parse --show-toplevel`
@ -198,7 +198,9 @@ in
require("nvim-tree").setup()
vim.api.nvim_create_autocmd({"QuitPre"}, {
callback = function() vim.cmd("NvimTreeClose") end
callback = function()
vim.cmd("NvimTreeClose")
end
})
local function open_nvim_tree(data)
@ -501,7 +503,7 @@ in
startify.section.header.val = vim.fn.system("${pkgs.fish}/bin/fish -c 'cat (random choice (${pkgs.fd}/bin/fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore)) | head -n 1'")
startify.section.top_buttons.val = {
startify.button("e", "", "<cmd>ene <CR>")
startify.button("e", "", "<cmd>ene <CR>")
}
startify.section.mru.val = { { type = "padding", val = 0 } }
@ -510,11 +512,11 @@ in
{ type = "text", val = "", opts = { hl = "SpecialComment", shrink_margin = false } },
{ type = "padding", val = 1 },
{
type = "group",
val = function()
return { startify.mru(0, vim.fn.getcwd()) }
end,
opts = { shrink_margin = false },
type = "group",
val = function()
return { startify.mru(0, vim.fn.getcwd()) }
end,
opts = { shrink_margin = false },
}
}