Skip to content

Commit

Permalink
harpoon neogen
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-x committed Nov 27, 2021
1 parent 94b77cf commit 7cecf62
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions lua/core/lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ local function daylight()
end
end

function lazyload()
local loader = require"packer".loader
local loader = require"packer".loader
_G.PLoader = loader
function Lazyload()

--
math.randomseed(os.time())
Expand Down Expand Up @@ -128,7 +129,7 @@ function lazyload()

end

vim.cmd([[autocmd User LoadLazyPlugin lua lazyload()]])
vim.cmd([[autocmd User LoadLazyPlugin lua Lazyload()]])
vim.cmd("command! Gram lua require'modules.tools.config'.grammcheck()")
vim.cmd("command! Spell call spelunker#check()")

Expand All @@ -137,15 +138,16 @@ vim.defer_fn(function()
vim.cmd([[doautocmd User LoadLazyPlugin]])
end, lazy_timer)

vim.defer_fn(function()
-- lazyload()
local cmd = 'TSEnableAll highlight ' .. vim.o.ft
-- vim.cmd(cmd)
-- vim.cmd([[doautocmd ColorScheme]])
vim.cmd(cmd)
end, lazy_timer + 20)
-- vim.defer_fn(function()
-- -- lazyload()
-- local cmd = 'TSEnableAll highlight ' .. vim.o.ft
-- -- vim.cmd(cmd)
-- -- vim.cmd([[doautocmd ColorScheme]])
-- -- vim.cmd(cmd)
-- end, lazy_timer + 20)

vim.defer_fn(function()
local loader = require'packer'.loader
loader('telescope.nvim telescope-zoxide project.nvim nvim-neoclip.lua')
end, lazy_timer + 50)
loader('neogen harpoon')
end, lazy_timer + 100)

0 comments on commit 7cecf62

Please sign in to comment.