35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
*tiny-checktime.txt* Check for external file changes on focus
|
|
|
|
Author: Stephen Waits <https://github.com/swaits>
|
|
License: MIT
|
|
|
|
==============================================================================
|
|
CONTENTS *tiny-checktime-contents*
|
|
|
|
1. Introduction ........................ |tiny-checktime-introduction|
|
|
2. Configuration ....................... |tiny-checktime-configuration|
|
|
|
|
==============================================================================
|
|
1. INTRODUCTION *tiny-checktime-introduction*
|
|
|
|
tiny-checktime.nvim runs |:checktime| when Neovim regains focus, so
|
|
externally modified files are detected. Pairs with 'autoread'.
|
|
|
|
==============================================================================
|
|
2. CONFIGURATION *tiny-checktime-configuration*
|
|
|
|
*tiny-checktime.setup()*
|
|
setup({opts})
|
|
|
|
Optional. All options shown with defaults: >lua
|
|
|
|
require("tiny-checktime").setup({
|
|
events = { "FocusGained", "TermClose", "TermLeave" },
|
|
})
|
|
<
|
|
Fields: ~
|
|
{events} (table) Events that trigger checktime.
|
|
|
|
==============================================================================
|
|
vim:tw=78:ts=8:ft=help:norl:
|