2023-01-07 17:52:40 +08:00
|
|
|
-- Autocmds are automatically loaded on the VeryLazy event
|
2023-03-30 15:20:00 +08:00
|
|
|
-- Default autocmds that are always set: https://github.com/jul-o/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
2023-01-07 17:52:40 +08:00
|
|
|
-- Add any additional autocmds here
|
2023-10-05 02:55:01 +08:00
|
|
|
|
2023-10-05 04:09:03 +08:00
|
|
|
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
|
|
|
pattern = { "*.html", "*.tsx", "*.jsx" },
|
|
|
|
callback = function(_)
|
2024-03-29 21:57:29 +08:00
|
|
|
vim.cmd("InlineFoldToggle")
|
2023-10-05 04:09:03 +08:00
|
|
|
end,
|
|
|
|
})
|