canola.nvim/lua/oil
ericguin 3abb6077d7
fix(ssh): config option to pass extra args to SCP (#340)
* Adding in SCP options configuration

This changeset adds in additional SCP options to the config. This allows
the user to specify a list of flags to send to the SCP command that will
be expanded into each shell command.

The primary driver for this is from newe boxes SSHing into pre 9 openSSH
boxes. New openSSH uses sftp server under the hood, rather than the
older SCP protocol. If you go into a system that does not have these
changes, SCP fails to work. The '-O' command line flag was introduced to
resolve this.

Using this change, the user can now pass in `extra_scp_options = {"-O"}`
to resolve the issue.

* Replacing table.unpack with global unpack

* lint: apply stylua

* refactor: change option name and shuffle config around

---------

Co-authored-by: Eric Guinn <eric_guinn@selinc.com>
Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
2024-05-06 10:42:23 -07:00
..
adapters fix(ssh): config option to pass extra args to SCP (#340) 2024-05-06 10:42:23 -07:00
lsp feat: add ability to alter lsp file operation timeout (#317) 2024-03-02 09:02:42 -08:00
mutator fix(windows): treat both backslash and frontslash as path separators (#336) 2024-04-23 21:04:31 -07:00
actions.lua fix: support visual mode when preview window is open (#315) 2024-04-19 16:31:42 -04:00
cache.lua feat: trash support for linux and mac (#165) 2023-11-05 12:40:58 -08:00
columns.lua feat: use natural sort order by default (#328) 2024-03-12 19:21:54 -07:00
config.lua fix(ssh): config option to pass extra args to SCP (#340) 2024-05-06 10:42:23 -07:00
constants.lua refactor: small perf win by eliminating string object keys 2023-06-25 22:44:44 -07:00
fs.lua feat(trash): support for deleting to windows recycle bin (#243) 2024-01-02 22:05:01 -08:00
git.lua fix: git mv errors when moving empty directory (#358) 2024-04-23 19:31:54 -07:00
init.lua fix(windows): navigating into drive letter root directories (#341) 2024-04-23 22:06:59 -07:00
keymap_util.lua feat: add border config for SSH and keymaps help window (#299) 2024-02-19 20:00:49 -08:00
layout.lua refactor: clean up duplicate helper method 2023-03-29 18:42:48 -07:00
loading.lua fix: type annotations and type errors 2023-08-12 20:32:52 -07:00
pathutil.lua fix: can view drives on Windows 2023-11-05 07:27:28 -08:00
ringbuf.lua fix: spurious exits from faulty :wq detection (#221) 2024-03-12 15:57:57 -07:00
shell.lua feat: builtin support for editing files over ssh (#27) 2023-01-18 10:25:22 -08:00
util.lua fix(windows): file operation preview uses only backslash path separator (#336) 2024-04-23 20:57:22 -07:00
view.lua fix: support visual mode when preview window is open (#315) 2024-04-19 16:31:42 -04:00