starter/lua/config/autocmds.lua

17 lines
651 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
2023-10-30 04:04:35 +08:00
-- Check if we need to reload the file when it changed
-- vim.cmd("set laststatus=0")
-- vim.api.nvim_create_autocmd("statusline", {
-- command = "set laststatus=0",
-- })
-- vim.api.nvim_create_autocmd("User", {
-- pattern = "LazyDone",
-- once = true,
-- callback = function()
-- vim.api.nvim_exec_autocmds(":set laststatus = 0", { pattern = "*" })
-- -- vim.notify("Update/Sync/Something is complete!")
-- end,
-- })