starter/lua/config/autocmds.lua

13 lines
451 B
Lua
Raw Normal View History

2023-01-07 17:52:40 +08:00
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
2024-06-04 01:45:06 +08:00
-- Set Mini.files rounded border
vim.api.nvim_create_autocmd("User", {
2024-05-25 23:27:46 +08:00
pattern = "MiniFilesWindowOpen",
callback = function(args)
local win_id = args.data.win_id
vim.api.nvim_win_set_config(win_id, { border = "rounded" })
end,
})