about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-10-04 17:11:27 +0900
committersefidel <contact@sefidel.net>2023-10-04 17:11:27 +0900
commit56f194af8067561b9426288730579501b7b8dfb8 (patch)
tree937cfb9ecfdd5552e7af3176430c310ac9d70370
parent5d0d183a1482939809af1bd4f2cb0472ef467ef0 (diff)
downloadnvimrc-56f194af8067561b9426288730579501b7b8dfb8.tar.gz
nvimrc-56f194af8067561b9426288730579501b7b8dfb8.zip
feat(init)!: enable lua module loader
This commit enables the lua module loader,
raising the minimal supported neovim version to 0.9.
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 82565b8..afeff94 100644
--- a/init.lua
+++ b/init.lua
@@ -4,6 +4,9 @@ local run = vim.api.nvim_command
 -- Enable opt-in filetype.lua: https://github.com/neovim/neovim/pull/16600
 vim.g.do_filetype_lua = 1
 
+-- Enable opt-in lua module loader
+vim.loader.enable()
+
 local ensure_paths = {}
 
 local function ensure(user, repo)