From 190c3559e43b80dc3fc867c12cccd53ec0e7ad29 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Tue, 16 Aug 2022 22:31:24 -0400 Subject: [PATCH] neovim: Enable filesystem watcher --- nvim/.config/nvim/lua/plugins.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index ec41150..1c79c8f 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -55,7 +55,7 @@ return require('packer').startup({function(use) use { "nvim-neo-tree/neo-tree.nvim", branch = "v2.x", - requires = { + requires = { "nvim-lua/plenary.nvim", "kyazdani42/nvim-web-devicons", "MunifTanjim/nui.nvim", @@ -66,6 +66,9 @@ return require('packer').startup({function(use) position = "left", width = 36, }, + filesystem = { + use_libuv_file_watcher = true, + }, }) require("neo-tree.sources.manager").show("filesystem") end,