add vim-matchup , lazy load some plugins

This commit is contained in:
siduck76 2021-06-26 07:54:10 +05:30
parent 193a852335
commit 2f238742d2
3 changed files with 18 additions and 4 deletions

View File

@ -5,8 +5,6 @@ require "misc-utils"
require "top-bufferline" require "top-bufferline"
require "statusline" require "statusline"
require("neoscroll").setup() -- smooth scroll
-- lsp stuff -- lsp stuff
require "nvim-lspconfig" require "nvim-lspconfig"

View File

@ -41,8 +41,12 @@ vim.g.loaded_gzip = 0
vim.g.loaded_tar = 0 vim.g.loaded_tar = 0
vim.g.loaded_tarPlugin = 0 vim.g.loaded_tarPlugin = 0
vim.g.loaded_zipPlugin = 0 vim.g.loaded_zipPlugin = 0
vim.g.loaded_2html_plugin = 0
vim.g.loaded_netrw = 0 vim.g.loaded_netrw = 0
vim.g.loaded_netrwPlugin = 0 vim.g.loaded_netrwPlugin = 0
vim.g.loaded_matchit = 0
vim.g.loaded_matchparen = 0
vim.g.loaded_spec = 0
local M = {} local M = {}

View File

@ -71,6 +71,11 @@ return packer.startup(
end end
} }
use {
"andymass/vim-matchup",
event = "CursorMoved"
}
use { use {
"terrortylor/nvim-comment", "terrortylor/nvim-comment",
cmd = "CommentToggle", cmd = "CommentToggle",
@ -113,7 +118,7 @@ return packer.startup(
end end
} }
use "tweekmonster/startuptime.vim" use {"tweekmonster/startuptime.vim", cmd = "StartupTime"}
-- load autosave plugin only if its globally enabled -- load autosave plugin only if its globally enabled
use { use {
@ -123,7 +128,14 @@ return packer.startup(
end end
} }
use "karb94/neoscroll.nvim" -- smooth scroll
use {
"karb94/neoscroll.nvim",
event = "WinScrolled",
config = function()
require("neoscroll").setup()
end
}
use { use {
"kdav5758/TrueZen.nvim", "kdav5758/TrueZen.nvim",