From ce4f7ef70bb96b1a8e5f9120c64978375aa8a2b1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 18 Oct 2022 18:02:09 +0200 Subject: Add filetype for improved startup time --- fnl/plugins.fnl | 1 + init.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index c0195bd..3be71dd 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -84,6 +84,7 @@ :cmd :ToggleTerm :config (fn [] (require :config.toggleterm))} + {1 :nathom/filetype.nvim} {1 :dstein64/vim-startuptime :cmd :StartupTime}]) (def search [{1 :nvim-telescope/telescope-fzf-native.nvim :run :make} diff --git a/init.lua b/init.lua index 03e828b..df37b44 100644 --- a/init.lua +++ b/init.lua @@ -4,6 +4,7 @@ local fmt = string.format local execute = vim.api.nvim_command local packer_path = fn.stdpath "data" .. "/site/pack/packer/start" local sync = false +vim.g.did_load_filetypes = 1 local function ensure(user, repository) local path = fmt("%s/%s", packer_path, repository) -- cgit v1.2.3-70-g09d2