final updates of plugins in nvim_unstable
This commit is contained in:
parent
9661cea5d4
commit
5efa1c4ce5
5 changed files with 44 additions and 58 deletions
|
|
@ -17,7 +17,7 @@ return {
|
|||
opts = {
|
||||
library = {
|
||||
-- Load luvit types when the `vim.uv` word is found
|
||||
{ path = 'luvit-meta/library', words = { 'vim%.uv' } },
|
||||
{ path = "${3rd}/luv/library", words = { "vim%.uv" } }
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
return {
|
||||
{
|
||||
"MeanderingProgrammer/markdown.nvim",
|
||||
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons
|
||||
opts = {
|
||||
file_types = { 'markdown', 'copilot-chat' },
|
||||
file_types = { 'markdown' },
|
||||
sign = {
|
||||
enabled = false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3,57 +3,5 @@ return {
|
|||
"nosduco/remote-sshfs.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
cmd = { "RemoteSSHFSConnect" },
|
||||
config = function()
|
||||
require("remote-sshfs").setup({})
|
||||
require("telescope").load_extension("remote-sshfs")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"amitds1997/remote-nvim.nvim",
|
||||
version = "*", -- Pin to GitHub releases
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim", -- For standard functions
|
||||
"MunifTanjim/nui.nvim", -- To build the plugin UI
|
||||
"nvim-telescope/telescope.nvim", -- For picking b/w different remote methods
|
||||
},
|
||||
opts = {
|
||||
remote = {
|
||||
copy_dirs = {
|
||||
data = {
|
||||
base = vim.fn.stdpath("data"), -- Path from where data has to be copied. You can choose to copy entire path or subdirectories inside using `dirs`
|
||||
dirs = { "lazy" }, -- Directories inside `base` to copy over. If this is set to string "*"; it means entire `base` should be copied over
|
||||
compression = {
|
||||
enabled = true, -- Should data be compressed before uploading
|
||||
additional_opts = { "--exclude-vcs" }, -- Any arguments that can be passed to `tar` for compression can be specified here to improve your compression
|
||||
},
|
||||
},
|
||||
-- cache = {
|
||||
-- base = vim.fn.stdpath("cache"),
|
||||
-- dirs = {},
|
||||
-- compression = {
|
||||
-- enabled = true,
|
||||
-- },
|
||||
-- },
|
||||
state = {
|
||||
base = vim.fn.stdpath("state"),
|
||||
dirs = {},
|
||||
compression = {
|
||||
enabled = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
client_callback = function(port, workspace_config)
|
||||
local cmd = ("tmux new-window 'nvim --server localhost:%s --remote-ui' && tmux select-window -t:$"):format(port)
|
||||
vim.fn.jobstart(cmd, {
|
||||
detach = true,
|
||||
on_exit = function(job_id, exit_code, event_type)
|
||||
-- This function will be called when the job exits
|
||||
print("Client", job_id, "exited with code", exit_code, "Event type:", event_type)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
config = true,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
dependencies = { "echasnovski/mini.nvim", "ibhagwan/fzf-lua" },
|
||||
cmd = { "Trouble" },
|
||||
keys = {
|
||||
{
|
||||
|
|
@ -32,6 +32,10 @@ return {
|
|||
},
|
||||
},
|
||||
opts = function()
|
||||
local config = require("fzf-lua.config")
|
||||
local actions = require("trouble.sources.fzf").actions
|
||||
config.defaults.actions.files["ctrl-t"] = actions.open
|
||||
|
||||
---@type trouble.Window.opts
|
||||
local win_opts = {
|
||||
-- size = { width = 30, height = 0.5 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue