add documentation comments for using remote sshfs

This commit is contained in:
Nick Burt 2026-04-28 19:32:38 -05:00
parent 5cd972fd06
commit 85d4b8dfc5
2 changed files with 6 additions and 1 deletions

View File

@ -711,6 +711,7 @@ require('lazy').setup({
-- python = { "isort", "black" }, -- python = { "isort", "black" },
-- --
-- You can use 'stop_after_first' to run the first available formatter from the list -- You can use 'stop_after_first' to run the first available formatter from the list
json = { 'prettierd', 'prettier', stop_after_first = true },
javascript = { 'prettierd', 'prettier', stop_after_first = true }, javascript = { 'prettierd', 'prettier', stop_after_first = true },
typescript = { 'prettierd', 'prettier', stop_after_first = true }, typescript = { 'prettierd', 'prettier', stop_after_first = true },
typescriptreact = { 'prettierd', 'prettier', stop_after_first = true }, typescriptreact = { 'prettierd', 'prettier', stop_after_first = true },

View File

@ -1,6 +1,10 @@
-- Usage: :RemoteSSHFSConnect <user>@<ipaddress>:/path/to/file
return { return {
'nosduco/remote-sshfs.nvim', 'nosduco/remote-sshfs.nvim',
dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
opts = {}, opts = {},
} }
-- Usage: :RemoteSSHFSConnect <user>@<ipaddress>:/path/to/file
-- Sometimes you have to force close, and that causes permission failed on reconnect.
-- When that happens DO NOT DELETE THE DIRECTORY under .sshfd. That will delete everything that mountpoint is connected to *at the connection*
-- Instead safely unmount with `umount -l ~/.sshfd/[MOUNT_POINT]`