diff --git a/init.lua b/init.lua index f1c66de..22177d0 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,9 @@ +local present, impatient = pcall(require, "impatient") + +if present then + impatient.enable_profile() +end + local core_modules = { "core.options", "core.autocmds", diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 77afe83..89acc5d 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -68,7 +68,7 @@ M.plugins = { lspsignature = true, -- lsp enhancements vim_matchup = true, -- improved matchit cmp = true, - snippets = true, + snippets = false, nvimtree = true, autopairs = true, }, diff --git a/lua/core/options.lua b/lua/core/options.lua index b9509a4..b72ad62 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -49,6 +49,7 @@ g.mapleader = options.mapleader -- disable some builtin vim plugins local disabled_built_ins = { + "did_load_filetypes", "2html_plugin", "getscript", "getscriptPlugin", diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 1ac7512..f2f6ff5 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -15,6 +15,8 @@ return packer.startup(function() -- this is the nvchad core repo containing utilities for some features like theme swticher, no need to lazy load use "Nvchad/extensions" use "nvim-lua/plenary.nvim" + use "lewis6991/impatient.nvim" + use "nathom/filetype.nvim" use { "wbthomason/packer.nvim",