summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-31 00:44:02 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-31 00:44:02 +0100
commit908dee98f15a21b2b237e7fb7fb8e9114c5df834 (patch)
treed69228fdbdd4e1dfeaec19234318062d68f71aca /fnl
parentb5000aed439b0002e10074d1605a593441f176df (diff)
Update loading event
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins.fnl14
1 files changed, 8 insertions, 6 deletions
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl
index a266ebd..66acdf9 100644
--- a/fnl/plugins.fnl
+++ b/fnl/plugins.fnl
@@ -11,9 +11,10 @@
:config (fn []
(require :config.colorizer))}
{1 :nvim-treesitter/nvim-treesitter
+ :build ":TSUpdate"
+ :event :BufReadPost
:config (fn []
- (require :config.treesitter))
- :build ":TSUpdate"}
+ (require :config.treesitter))}
;; Completions
{1 :hrsh7th/nvim-cmp
:dependencies [{1 :hrsh7th/cmp-buffer}
@@ -41,7 +42,7 @@
:config (fn []
(require :config.neogit))}
{1 :lewis6991/gitsigns.nvim
- :event :VeryLazy
+ :event :BufReadPre
:config (fn []
(require :config.gitsigns))}
;; LSP
@@ -82,6 +83,7 @@
:nvim-telescope/telescope-frecency.nvim
:tami5/sqlite.lua
:nvim-lua/plenary.nvim
+ :rmagatti/session-lens
:nvim-telescope/telescope-fzf-native.nvim
:nvim-telescope/telescope-frecency.nvim
:joaomsa/telescope-orgmode.nvim]
@@ -101,7 +103,7 @@
:config (fn []
(require :config.flit))}
{1 :ahmedkhalf/project.nvim
- :event :VeryLazy
+ :cmd :Telescope
:dependencies :nvim-telescope/telescope.nvim
:config (fn []
(require :config.project))}
@@ -115,12 +117,10 @@
(require :config.vim-slash))}
{1 :ThePrimeagen/harpoon
:event :VeryLazy
- :dependencies :nvim-telescope/telescope.nvim
:config (fn []
(require :config.harpoon))}
;; Session plugins
{1 :rmagatti/auto-session
- :dependencies [:rmagatti/session-lens :nvim-telescope/telescope.nvim]
:config (fn []
(require :config.auto-session))}
;; Text manipulation
@@ -151,10 +151,12 @@
(require :config.autopairs))}
{1 :mbbill/undotree :cmd :UndotreeToggle}
{1 :nvim-lualine/lualine.nvim
+ :event :BufReadPre
:config (fn []
(require :config.lualine))
:dependencies [:kyazdani42/nvim-web-devicons :arkav/lualine-lsp-progress]}
{1 :aktersnurra/minibar.nvim
+ :event :BufReadPre
:config (fn []
(require :config.minibar))}
{1 :folke/zen-mode.nvim