Remove no longer needed nvim plugins
This commit is contained in:
@@ -54,17 +54,6 @@ local pluginTable = {
|
|||||||
exclude = {}, -- exclude these filetypes
|
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={
|
{"folke/zen-mode.nvim", opts={
|
||||||
window = {
|
window = {
|
||||||
backdrop = 0.95, -- shade the backdrop of the Zen window. Set to 1 to keep the same as Normal
|
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'
|
||||||
--'vim-airline/vim-airline-themes'
|
--'vim-airline/vim-airline-themes'
|
||||||
--'ctrlpvim/ctrlp.vim'
|
{'ctrlpvim/ctrlp.vim'},
|
||||||
--'godlygeek/tabular'
|
--'godlygeek/tabular'
|
||||||
--'easymotion/vim-easymotion'
|
--'easymotion/vim-easymotion'
|
||||||
--'nathanaelkane/vim-indent-guides'
|
--'nathanaelkane/vim-indent-guides'
|
||||||
@@ -194,23 +183,17 @@ local pluginTable = {
|
|||||||
}
|
}
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
require("lazy").setup(pluginTable)
|
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")
|
if not vim.fn.isdirectory(target_path) then
|
||||||
--let target_path = expand('~/.nvimundodir')
|
vim.fn.mkpath(target_path, { mode = 0700 }) -- Use mkpath for parent creation
|
||||||
|
end
|
||||||
|
|
||||||
--" create the directory and any parent directories
|
vim.opt.undodir = target_path
|
||||||
--" if the location does not exist.
|
vim.api.nvim_set_option('undofile', true)
|
||||||
--if !isdirectory(target_path)
|
end
|
||||||
--call mkdir(target_path, "p", 0700)
|
|
||||||
--endif
|
|
||||||
|
|
||||||
--let &undodir=target_path
|
|
||||||
--set undofile
|
|
||||||
--endif
|
|
||||||
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("StdinReadPre", {
|
vim.api.nvim_create_autocmd("StdinReadPre", {
|
||||||
|
|||||||
Reference in New Issue
Block a user