Plugin cleanup
Use non-broken version of lsp-zero
This commit is contained in:
parent
a76f0153cd
commit
154be3e35e
@ -84,15 +84,20 @@ local function spec(use)
|
|||||||
|
|
||||||
use {
|
use {
|
||||||
"VonHeikemen/lsp-zero.nvim",
|
"VonHeikemen/lsp-zero.nvim",
|
||||||
branch = "v2.x",
|
branch = "v1.x",
|
||||||
requires = {
|
requires = {
|
||||||
{ "neovim/nvim-lspconfig" },
|
{ "neovim/nvim-lspconfig" },
|
||||||
|
-- completion
|
||||||
{ "hrsh7th/nvim-cmp" },
|
{ "hrsh7th/nvim-cmp" },
|
||||||
{ "hrsh7th/cmp-nvim-lsp" },
|
{ "hrsh7th/cmp-nvim-lsp" },
|
||||||
{ "hrsh7th/cmp-path" },
|
{ "hrsh7th/cmp-path" },
|
||||||
|
-- formatting
|
||||||
|
{ "mhartington/formatter.nvim" },
|
||||||
|
-- snippets
|
||||||
{ "saadparwaiz1/cmp_luasnip" },
|
{ "saadparwaiz1/cmp_luasnip" },
|
||||||
{ "L3MON4D3/LuaSnip" },
|
{ "L3MON4D3/LuaSnip" },
|
||||||
{ "rafamadriz/friendly-snippets" },
|
{ "rafamadriz/friendly-snippets" },
|
||||||
|
-- lsp manager
|
||||||
{ "williamboman/mason.nvim" },
|
{ "williamboman/mason.nvim" },
|
||||||
{ "williamboman/mason-lspconfig.nvim" },
|
{ "williamboman/mason-lspconfig.nvim" },
|
||||||
},
|
},
|
||||||
@ -101,8 +106,6 @@ local function spec(use)
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use "mhartington/formatter.nvim"
|
|
||||||
|
|
||||||
|
|
||||||
---- Just Visual Stuff
|
---- Just Visual Stuff
|
||||||
|
|
||||||
@ -207,17 +210,6 @@ local function spec(use)
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
|
||||||
"valeth/remote-sshfs.nvim",
|
|
||||||
branch = "no-cwd-on-jobstart",
|
|
||||||
requires = {
|
|
||||||
{ "nvim-telescope/telescope.nvim" },
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("valeth.packer.sshfs")
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
requires = {
|
requires = {
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
local ssh_config = vim.fs.normalize((os.getenv("XDG_CONFIG_HOME") or "~/.config") .. "/ssh/config")
|
|
||||||
|
|
||||||
local config
|
|
||||||
|
|
||||||
if vim.fn.filereadable(ssh_config) == 1 then
|
|
||||||
config = {
|
|
||||||
connections = {
|
|
||||||
ssh_configs = {
|
|
||||||
ssh_config,
|
|
||||||
},
|
|
||||||
sshfs_args = {
|
|
||||||
"-F " .. ssh_config,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
config = {}
|
|
||||||
end
|
|
||||||
|
|
||||||
require("remote-sshfs").setup(config)
|
|
Loading…
Reference in New Issue
Block a user