more
This commit is contained in:
parent
d5b6a69f9a
commit
8a0dd46473
4 changed files with 34 additions and 1 deletions
|
|
@ -20,6 +20,13 @@ return {
|
|||
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue