From 3b2c6360b2dec330fcb676d646988a29bf996c6b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 24 Jul 2025 14:02:46 +0200 Subject: update --- fnl/plugins/bqf.fnl | 2 +- fnl/plugins/conform.fnl | 2 +- fnl/plugins/harpoon.fnl | 2 +- fnl/plugins/leap.fnl | 8 ++++---- fnl/plugins/lsp/lspconfig.fnl | 2 +- fnl/plugins/lualine.fnl | 2 +- fnl/plugins/nvim-lint.fnl | 2 +- fnl/plugins/stay-in-place.fnl | 2 +- fnl/plugins/textobjs.fnl | 2 +- fnl/plugins/ts-comments.fnl | 2 +- fnl/plugins/window-picker.fnl | 4 ++-- 11 files changed, 15 insertions(+), 15 deletions(-) (limited to 'fnl') diff --git a/fnl/plugins/bqf.fnl b/fnl/plugins/bqf.fnl index 38afd09..8d2ea2a 100644 --- a/fnl/plugins/bqf.fnl +++ b/fnl/plugins/bqf.fnl @@ -24,4 +24,4 @@ :ptoggleauto :a :ptogglemode :P}}) -{1 :kevinhwang91/nvim-bqf :event [:BufReadPost :BufNewFile] : opts} +{1 :kevinhwang91/nvim-bqf :event :VeryLazy : opts} diff --git a/fnl/plugins/conform.fnl b/fnl/plugins/conform.fnl index 98963be..b84627d 100644 --- a/fnl/plugins/conform.fnl +++ b/fnl/plugins/conform.fnl @@ -29,4 +29,4 @@ :toml [:taplo] :yaml [:yamlfmt]}}) -{1 :stevearc/conform.nvim : init : opts :event [:BufReadPost :BufNewFile]} +{1 :stevearc/conform.nvim : init : opts :event :BufRead} diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl index 62ebf17..1ae632c 100644 --- a/fnl/plugins/harpoon.fnl +++ b/fnl/plugins/harpoon.fnl @@ -42,6 +42,6 @@ {1 :ThePrimeagen/harpoon :branch :harpoon2 - :event [:BufReadPost :BufNewFile] + :event :BufRead : init : keys} diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl index 79b94c2..5a80dbe 100644 --- a/fnl/plugins/leap.fnl +++ b/fnl/plugins/leap.fnl @@ -1,14 +1,14 @@ ;; Leap through text. (local dependencies [{1 :ggandor/flit.nvim - :event [:BufReadPost :BufNewFile] + :event :VimEnter :opts {:keys {:f :f :F :F :t :t :T :T} :labeled_modes :v :multiline true :opts {}}} - {1 :tpope/vim-repeat :event [:BufReadPost :BufNewFile]} + {1 :tpope/vim-repeat :event :VeryLazy} {1 :ggandor/leap-spooky.nvim - :event [:BufReadPost :BufNewFile] + :event :VeryLazy :opts {;; Additional text objects, to be merged with the default ones. ;; E.g.: {'iq', 'aq'} :extra_text_objects [:iq :aq] @@ -38,5 +38,5 @@ {1 :ggandor/leap.nvim : dependencies - :event [:BufReadPost :BufNewFile] + :event :VeryLazy : config} diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl index 5cd25d4..192954c 100644 --- a/fnl/plugins/lsp/lspconfig.fnl +++ b/fnl/plugins/lsp/lspconfig.fnl @@ -17,7 +17,7 @@ (mason-lspconfig.setup))) {1 :neovim/nvim-lspconfig - :event [:BufReadPost :BufNewFile] + :event :BufNew :dependencies [:mason.nvim :williamboman/mason-lspconfig.nvim :b0o/schemastore.nvim diff --git a/fnl/plugins/lualine.fnl b/fnl/plugins/lualine.fnl index b2f7e14..b22b1dc 100644 --- a/fnl/plugins/lualine.fnl +++ b/fnl/plugins/lualine.fnl @@ -79,6 +79,6 @@ (local dependencies [:arkav/lualine-lsp-progress]) {1 :nvim-lualine/lualine.nvim - :event [:BufReadPost :BufNewFile] + :event :VeryLazy : opts : dependencies} diff --git a/fnl/plugins/nvim-lint.fnl b/fnl/plugins/nvim-lint.fnl index e2ecdc0..2d1887d 100644 --- a/fnl/plugins/nvim-lint.fnl +++ b/fnl/plugins/nvim-lint.fnl @@ -26,4 +26,4 @@ :yaml [:yamllint] :zsh [:zsh]}))) -{1 :mfussenegger/nvim-lint : init : config :event [:BufReadPost :BufNewFile]} +{1 :mfussenegger/nvim-lint : init : config :event :BufNew} diff --git a/fnl/plugins/stay-in-place.fnl b/fnl/plugins/stay-in-place.fnl index de6deb7..69066d7 100644 --- a/fnl/plugins/stay-in-place.fnl +++ b/fnl/plugins/stay-in-place.fnl @@ -1,3 +1,3 @@ ;; Keep cursor at character when indenting. -{1 :gbprod/stay-in-place.nvim :event [:BufReadPost :BufNewFile] :config true} +{1 :gbprod/stay-in-place.nvim :event :BufRead :config true} diff --git a/fnl/plugins/textobjs.fnl b/fnl/plugins/textobjs.fnl index 025e2b5..0f3a1e1 100644 --- a/fnl/plugins/textobjs.fnl +++ b/fnl/plugins/textobjs.fnl @@ -1,5 +1,5 @@ ;; Various text objects. {1 :chrisgrieser/nvim-various-textobjs - :event [:BufReadPost :BufNewFile] + :event :VeryLazy :opts {:keymaps {:useDefaults true}}} diff --git a/fnl/plugins/ts-comments.fnl b/fnl/plugins/ts-comments.fnl index d8ce85a..9c08fec 100644 --- a/fnl/plugins/ts-comments.fnl +++ b/fnl/plugins/ts-comments.fnl @@ -1,3 +1,3 @@ ;; Enhance comments with treesitter. -{1 :folke/ts-comments.nvim :opts {} :event [:BufReadPost :BufNewFile]} +{1 :folke/ts-comments.nvim :opts {} :event :VeryLazy} diff --git a/fnl/plugins/window-picker.fnl b/fnl/plugins/window-picker.fnl index 41225f0..68b7786 100644 --- a/fnl/plugins/window-picker.fnl +++ b/fnl/plugins/window-picker.fnl @@ -1,4 +1,4 @@ -;; Trim whitespaces on save. +;; Select buffer (local opts {:other_win_hl_color "#171717" :fg_color "#E1E1E1" @@ -16,4 +16,4 @@ (vim.keymap.set :n :mw (λ [] (pick-window)) {}))) -{1 :s1n7ax/nvim-window-picker :event [:BufReadPost :BufNewFile] :version :2.0.0 : config} +{1 :s1n7ax/nvim-window-picker :event :VeryLazy :version :2.0.0 : config} -- cgit v1.2.3-70-g09d2