aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/javascriptreact.vim
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2026-10-06 12:10:52 +0100
committerLewis Russell <me@lewisr.dev>2026-10-16 19:29:39 +0100
commitd2c8b216198968ae810e54716296065f1945b0ca (patch)
treecb02c02e1619db1c64ca13ecfb7764ac7e44f34d /runtime/indent/javascriptreact.vim
parentc390fe813ae622d511ed8b5fa3883b70128dea3a (diff)
downloadrneovim-d2c8b216198968ae810e54716296065f1945b0ca.tar.gz
rneovim-d2c8b216198968ae810e54716296065f1945b0ca.tar.bz2
rneovim-d2c8b216198968ae810e54716296065f1945b0ca.zip
refactor(watch): extract watchdirs into a class
Problem: watchdirs() keeps its state in large nested callbacks in _watch.lua, which makes its directory tracking logic harder to change. Solution: Move the backend into its own module and store its state in a WatchDirs instance. Split setup, event handling and cleanup into methods. Extend the existing test to cover cancellation while a directory stat is pending. AI-assisted
Diffstat (limited to 'runtime/indent/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions