From 60835c17716627dc2175441f613f4baca080ab9f Mon Sep 17 00:00:00 2001 From: Lucas Miguel Date: Tue, 3 Dec 2024 23:30:25 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20de=20configura=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/nvim-sync-ftp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/nvim-sync-ftp.lua b/lua/nvim-sync-ftp.lua index fc61723..b014659 100644 --- a/lua/nvim-sync-ftp.lua +++ b/lua/nvim-sync-ftp.lua @@ -24,7 +24,7 @@ function M.setup(opts) if next(config) ~= nil then -- Config for on save - if config.upload_to_save == true then + if config.upload_to_save == 'true' then vim.api.nvim_create_augroup("SyncFtpUploadGroup", { clear = true }) vim.api.nvim_create_autocmd("BufWritePost", { @@ -39,7 +39,6 @@ function M.setup(opts) end - end return M