aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-09-07 16:21:52 +0100
committerLewis Russell <me@lewisr.dev>2026-09-09 11:39:57 +0100
commitefdd73c0962cf46889d2e043efb892cf3ec432b7 (patch)
tree8b5bf0cf19290311253e5dd8ef2cb20cc829712e /runtime/syntax/python.vim
parent318ea4de21121a8ca0d905289a96cf48d9025816 (diff)
downloadrneovim-efdd73c0962cf46889d2e043efb892cf3ec432b7.tar.gz
rneovim-efdd73c0962cf46889d2e043efb892cf3ec432b7.tar.bz2
rneovim-efdd73c0962cf46889d2e043efb892cf3ec432b7.zip
feat(watch): add on_error callback
Problem: Watcher failures are reported inconsistently, and callers cannot detect when a watcher is no longer usable. Solution: Route startup and event failures and unexpected inotifywait exits through an optional on_error callback. Log to nvim-watch.log by default. Ignore disappearing child directories and exits caused by cancellation. Let LSP log failures and notify once per message, using INFO for missing roots and ERROR otherwise, without interrupting registration. AI-assisted
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions