summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-10-18 18:02:09 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-10-18 18:02:09 +0200
commitce4f7ef70bb96b1a8e5f9120c64978375aa8a2b1 (patch)
tree2cfe189a163abeb20b2120fa456ba550759a2f8b
parentc84be23430181db27200d0ec6def0e23817ea88d (diff)
Add filetype for improved startup time
-rw-r--r--fnl/plugins.fnl1
-rw-r--r--init.lua1
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}
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)