From 2bc8c1ba02d1bbff7ba41024b273798fd1d6f9a7 Mon Sep 17 00:00:00 2001 From: kdav5758 Date: Thu, 1 Jul 2021 18:06:13 -0500 Subject: [PATCH] removed prints --- lua/autosave/modules/autocmds.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lua/autosave/modules/autocmds.lua b/lua/autosave/modules/autocmds.lua index 33c9e7e..cc19142 100644 --- a/lua/autosave/modules/autocmds.lua +++ b/lua/autosave/modules/autocmds.lua @@ -28,7 +28,6 @@ local function actual_save() -- might use update, but in that case it can't be checekd if a file was modified and so it will always -- print opts["execution_message"] if (api.nvim_eval([[&modified]]) == 1) then - print("here 4") cmd("write") if (get_modified() == nil) then set_modified(true) @@ -38,17 +37,12 @@ end function M.do_save() if (opts["save_only_if_exists"] == true) then - print("here 1") if (fn.filereadable(fn.expand("%:p")) == 1) then - print("here 2") if not (next(opts["excluded_filetypes"]) == nil) then - print("here 3") if (table_has_value(opts["excluded_filetypes"], api.nvim_eval([[&filetype]])) == false) then - print("here 4") actual_save() end else - print("here 5") actual_save() end end