summaryrefslogtreecommitdiff
path: root/lua/config/impatient.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-12 22:56:16 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-12 22:56:16 +0100
commitd2f2c2504e6f7257b28be6b2857301e3e8f2d241 (patch)
treedb4704dede4070aa0789b9b44809bcc33d8e3f6c /lua/config/impatient.lua
parentc4d82f9683976b5445ceee3c4db37b42948a1cb7 (diff)
Add impatient
Diffstat (limited to 'lua/config/impatient.lua')
-rw-r--r--lua/config/impatient.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/config/impatient.lua b/lua/config/impatient.lua
new file mode 100644
index 0000000..e902108
--- /dev/null
+++ b/lua/config/impatient.lua
@@ -0,0 +1,8 @@
+-- Speeds up loading of lua modules.
+
+local status_ok, impatient = pcall(require, "impatient")
+if not status_ok then
+ return
+end
+
+impatient.enable_profile()