diff options
author | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-18 18:02:09 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf@nexure.io> | 2022-10-18 18:02:09 +0200 |
commit | ce4f7ef70bb96b1a8e5f9120c64978375aa8a2b1 (patch) | |
tree | 2cfe189a163abeb20b2120fa456ba550759a2f8b | |
parent | c84be23430181db27200d0ec6def0e23817ea88d (diff) |
Add filetype for improved startup time
-rw-r--r-- | fnl/plugins.fnl | 1 | ||||
-rw-r--r-- | init.lua | 1 |
2 files changed, 2 insertions, 0 deletions
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} @@ -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) |