irongit

Configure synchronization of files and directories through a plugin.

no need for log.print

huncholanehuncholaneauthored
parent c0e8c7ecommit 62eb8cb42b96335b90d2ae4edb75aca062cf358aBrowse files

2 files changed, +1 -11

+0-6lua/syncmap/log.lua
@@ -37,10 +37,4 @@ function M.error(msg)
3737 M.log(msg, vim.log.levels.ERROR)
3838 end
3939
40----Prints a message regardless of log level
41----@param msg any
42-function M.print(msg)
43- vim.print("[syncmap] " .. msg)
44-end
45-
4640 return M
+1-5lua/syncmap/state.lua
@@ -138,11 +138,7 @@ end
138138
139139 ---List active
140140 function M.show_active()
141- local s = ""
142- for tag, pid in M.active do
143- s = string.format("%d: %s", pid, tag)
144- end
145- log.print("Current active watchers\n" .. s)
141+ vim.print(M.active)
146142 end
147143
148144 ---Shows the current options of Syncmap