mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
Update 2025-03-08 Update 2025-03-09 Update 2025-03-10 Update 2025-03-12 Update 2025-03-15 Update 2025-03-16 Update 2025-03-17 Update 2025-03-18 Update 2025-03-21 Update 2025-03-23 Update 2025-03-27 Update 2025-03-28 Update 2025-03-30
16 lines
415 B
Lua
16 lines
415 B
Lua
require("config.init")
|
|
|
|
if vim.env.PROF then
|
|
-- example for lazy.nvim
|
|
-- change this to the correct path for your plugin manager
|
|
local snacks = vim.fn.stdpath("data") .. "/lazy/snacks.nvim"
|
|
vim.opt.rtp:append(snacks)
|
|
require("snacks.profiler").startup({
|
|
startup = {
|
|
event = "VimEnter", -- stop profiler on this event. Defaults to `VimEnter`
|
|
-- event = "UIEnter",
|
|
-- event = "VeryLazy",
|
|
},
|
|
})
|
|
end
|