feat(nvim): Add snacks.profiler
This commit is contained in:
@@ -15,4 +15,16 @@
|
|||||||
rename.enabled = true;
|
rename.enabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfigLuaPre =
|
||||||
|
# lua
|
||||||
|
''
|
||||||
|
if vim.env.PROF then
|
||||||
|
require("snacks.profiler").startup {
|
||||||
|
startup = {
|
||||||
|
event = "VimEnter",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user