From 960f9526934abcd1817d34e35f164564a337147b Mon Sep 17 00:00:00 2001 From: Ajay Mamtora <45173937+Ajaymamtora@users.noreply.github.com> Date: Sat, 24 Aug 2024 17:57:45 +0100 Subject: [PATCH] Callback on live reload --- lua/neoconf/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/neoconf/config.lua b/lua/neoconf/config.lua index 11b6d06..701ad8d 100644 --- a/lua/neoconf/config.lua +++ b/lua/neoconf/config.lua @@ -2,8 +2,8 @@ local M = {} ---@class Config M.defaults = { - -- on_write callback - on_write = function() end, + -- Callback for when a setting is changes in local or global settings + -- on_write = function(event) end, -- name of the local settings files local_settings = ".neoconf.json", -- name of the global settings file in your Neovim config directory