diff options
author | sefidel <contact@sefidel.net> | 2022-02-26 13:14:11 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-26 14:17:47 +0900 |
commit | 4152f871951afdede2db2a08acff85aea2999c06 (patch) | |
tree | 12a799645030fd38b5af7a42863127f4647724db /init.lua | |
parent | ee0fbc01827d8136fd8499772c1e1038b309609e (diff) | |
download | nvimrc-4152f871951afdede2db2a08acff85aea2999c06.tar.gz nvimrc-4152f871951afdede2db2a08acff85aea2999c06.zip |
feat!: reduce bloatness
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/init.lua b/init.lua index c14a467..26059bd 100644 --- a/init.lua +++ b/init.lua @@ -1,7 +1,9 @@ local fmt = string.format local run = vim.api.nvim_command -vim.opt.shadafile = "NONE" +-- Enable opt-in filetype.lua: https://github.com/neovim/neovim/pull/16600 +vim.g.do_filetype_lua = 1 +vim.g.did_load_filetypes = 0 local function ensure(user, repo) local install_path = fmt("%s/site/pack/packer/start/%s", vim.fn.stdpath("data"), repo) @@ -13,11 +15,10 @@ local function ensure(user, repo) end ensure("lewis6991", "impatient.nvim") -require("impatient") - ensure("wbthomason", "packer.nvim") - ensure("rktjmp", "hotpot.nvim") + +require("impatient").enable_profile() require("hotpot").setup { provide_require_fennel = true } require("nvrc.ignite") |