mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +02:00
feat(autocmds): checktime on TermLeave and TermClose
This commit is contained in:
parent
79bb9e17da
commit
ff777b5efd
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
-- Check if we need to reload the file when it changed
|
||||
vim.api.nvim_create_autocmd("FocusGained", { command = "checktime" })
|
||||
vim.api.nvim_create_autocmd({ "FocusGained", "TermClose", "TermLeave" }, { command = "checktime" })
|
||||
|
||||
-- Highlight on yank
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue