feat: rename experimental_watch_for_changes -> watch_for_changes

I've been using this for a while now and haven't seen any issues. We can
take "experimental" out of the name.
This commit is contained in:
Steven Arcangeli 2024-07-01 11:34:02 -07:00
parent 65c53dbe4f
commit c7c7ce5bd4
5 changed files with 10 additions and 5 deletions

View file

@ -447,7 +447,7 @@ M.initialize = function(bufnr)
if
adapter
and adapter.name == "files"
and config.experimental_watch_for_changes
and config.watch_for_changes
and not session[bufnr].fs_event
then
local fs_event = assert(uv.new_fs_event())