nvim/lua/plugins/remote-sshfs.lua
RingOfStorms (Joshua Bell) d5b6a69f9a minified test
2025-10-27 21:23:43 -05:00

26 lines
601 B
Lua

return {
"nosduco/remote-sshfs.nvim",
init = function()
-- Check if sshfs is available
if not U.cmd_executable("sshfs") then
vim.notify(
"'sshfs' not found on PATH. Required for RemoteSSHFS commands",
vim.log.levels.INFO
)
end
end,
cmd = {
"RemoteSshfs",
"RemoteSSHFSConnect",
"RemoteSSHFSDisconnect",
"RemoteSSHFSEdit",
"RemoteSSHFSFindFiles",
"RemoteSSHFSLiveGrep",
},
dependencies = { "nvim-telescope/telescope.nvim" },
opts = {},
config = function(_, opts)
require("remote-sshfs").setup(opts)
require("telescope").load_extension("remote-sshfs")
end,
}