From 4152f871951afdede2db2a08acff85aea2999c06 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 26 Feb 2022 13:14:11 +0900 Subject: feat!: reduce bloatness --- init.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'init.lua') 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") -- cgit 1.4.1