mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
add vim-matchup , lazy load some plugins
This commit is contained in:
parent
193a852335
commit
2f238742d2
3 changed files with 18 additions and 4 deletions
2
init.lua
2
init.lua
|
@ -5,8 +5,6 @@ require "misc-utils"
|
|||
require "top-bufferline"
|
||||
require "statusline"
|
||||
|
||||
require("neoscroll").setup() -- smooth scroll
|
||||
|
||||
-- lsp stuff
|
||||
require "nvim-lspconfig"
|
||||
|
||||
|
|
|
@ -41,8 +41,12 @@ vim.g.loaded_gzip = 0
|
|||
vim.g.loaded_tar = 0
|
||||
vim.g.loaded_tarPlugin = 0
|
||||
vim.g.loaded_zipPlugin = 0
|
||||
vim.g.loaded_2html_plugin = 0
|
||||
vim.g.loaded_netrw = 0
|
||||
vim.g.loaded_netrwPlugin = 0
|
||||
vim.g.loaded_matchit = 0
|
||||
vim.g.loaded_matchparen = 0
|
||||
vim.g.loaded_spec = 0
|
||||
|
||||
local M = {}
|
||||
|
||||
|
|
|
@ -71,6 +71,11 @@ return packer.startup(
|
|||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"andymass/vim-matchup",
|
||||
event = "CursorMoved"
|
||||
}
|
||||
|
||||
use {
|
||||
"terrortylor/nvim-comment",
|
||||
cmd = "CommentToggle",
|
||||
|
@ -113,7 +118,7 @@ return packer.startup(
|
|||
end
|
||||
}
|
||||
|
||||
use "tweekmonster/startuptime.vim"
|
||||
use {"tweekmonster/startuptime.vim", cmd = "StartupTime"}
|
||||
|
||||
-- load autosave plugin only if its globally enabled
|
||||
use {
|
||||
|
@ -123,7 +128,14 @@ return packer.startup(
|
|||
end
|
||||
}
|
||||
|
||||
use "karb94/neoscroll.nvim"
|
||||
-- smooth scroll
|
||||
use {
|
||||
"karb94/neoscroll.nvim",
|
||||
event = "WinScrolled",
|
||||
config = function()
|
||||
require("neoscroll").setup()
|
||||
end
|
||||
}
|
||||
|
||||
use {
|
||||
"kdav5758/TrueZen.nvim",
|
||||
|
|
Loading…
Reference in a new issue