Remove no longer needed nvim plugins

This commit is contained in:
2024-07-04 01:29:21 +02:00
parent 009b8e2413
commit e01f21e55a

View File

@@ -54,17 +54,6 @@ local pluginTable = {
exclude = {}, -- exclude these filetypes
}
},
{
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
-- Only one of these is needed, not both.
"nvim-telescope/telescope.nvim", -- optional
},
config = true
},
{"folke/zen-mode.nvim", opts={
window = {
backdrop = 0.95, -- shade the backdrop of the Zen window. Set to 1 to keep the same as Normal
@@ -126,7 +115,7 @@ local pluginTable = {
}},
--'vim-airline/vim-airline'
--'vim-airline/vim-airline-themes'
--'ctrlpvim/ctrlp.vim'
{'ctrlpvim/ctrlp.vim'},
--'godlygeek/tabular'
--'easymotion/vim-easymotion'
--'nathanaelkane/vim-indent-guides'
@@ -194,23 +183,17 @@ local pluginTable = {
}
vim.opt.rtp:prepend(lazypath)
require("lazy").setup(pluginTable)
--vim.g.limelight_conceal_ctermfg = "DarkGray"
--vim.g.limelight_conceal_guifg = {"DarkGray", "#777777"}
--autocmd CursorHold,CursorHoldI * lua require('nvim-lightbulb').update_lightbulb()
if vim.fn.has('persistent_undo') then
local target_path = '~/.nvimundodir'
--if has("persistent_undo")
--let target_path = expand('~/.nvimundodir')
if not vim.fn.isdirectory(target_path) then
vim.fn.mkpath(target_path, { mode = 0700 }) -- Use mkpath for parent creation
end
--" create the directory and any parent directories
--" if the location does not exist.
--if !isdirectory(target_path)
--call mkdir(target_path, "p", 0700)
--endif
--let &undodir=target_path
--set undofile
--endif
vim.opt.undodir = target_path
vim.api.nvim_set_option('undofile', true)
end
vim.api.nvim_create_autocmd("StdinReadPre", {