disable sshfs

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-27 22:20:45 -05:00
parent 5d2bc9abb8
commit 26dd42aebb
6 changed files with 7 additions and 74 deletions

View file

@ -1,33 +0,0 @@
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)
-- Check for sshfs when plugin is first used
if not U.cmd_executable("sshfs") then
vim.notify(
"'sshfs' not found on PATH. Install it to use RemoteSSHFS commands.",
vim.log.levels.ERROR
)
end
require("remote-sshfs").setup(opts)
require("telescope").load_extension("remote-sshfs")
end,
}