feat: add rounded corner for mini.files

pull/99/head
fm39hz-workstation 2024-05-24 15:50:46 +07:00 committed by fm39hz-laptop
parent 6eae292605
commit 3e0febab78
1 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-- 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
vim.api.nvim_create_autocmd("User", {
pattern = "MiniFilesWindowOpen",
callback = function(args)
local win_id = args.data.win_id
vim.api.nvim_win_set_config(win_id, { border = "rounded" })
end,
})