mirror of https://github.com/LazyVim/starter
feat: add rounded corner for mini.files
parent
6eae292605
commit
3e0febab78
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue