diff options
author | sefidel <contact@sefidel.net> | 2023-10-04 17:11:27 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-10-04 17:11:27 +0900 |
commit | 56f194af8067561b9426288730579501b7b8dfb8 (patch) | |
tree | 937cfb9ecfdd5552e7af3176430c310ac9d70370 /init.lua | |
parent | 5d0d183a1482939809af1bd4f2cb0472ef467ef0 (diff) | |
download | nvimrc-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.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
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) |