mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
feat: add rounded corner for mini.files
This commit is contained in:
parent
a42520087a
commit
d77f82e2b5
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue