add impatient.nvim and filetype.nvim | improve startuptime
This commit is contained in:
parent
50aa25f307
commit
e8b31c9308
6
init.lua
6
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",
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -49,6 +49,7 @@ g.mapleader = options.mapleader
|
|||
|
||||
-- disable some builtin vim plugins
|
||||
local disabled_built_ins = {
|
||||
"did_load_filetypes",
|
||||
"2html_plugin",
|
||||
"getscript",
|
||||
"getscriptPlugin",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue