diff --git a/init.lua b/init.lua index 62fb6601..78f48dba 100644 --- a/init.lua +++ b/init.lua @@ -721,6 +721,7 @@ require('lazy').setup({ -- python = { "isort", "black" }, -- -- 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 }, typescript = { 'prettierd', 'prettier', stop_after_first = true }, typescriptreact = { 'prettierd', 'prettier', stop_after_first = true }, diff --git a/lua/custom/plugins/remote-sshfs.lua b/lua/custom/plugins/remote-sshfs.lua new file mode 100644 index 00000000..dda4fd04 --- /dev/null +++ b/lua/custom/plugins/remote-sshfs.lua @@ -0,0 +1,10 @@ +return { + 'nosduco/remote-sshfs.nvim', + dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, + opts = {}, +} + +-- Usage: :RemoteSSHFSConnect @:/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]`