summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-05-28 22:00:09 +0200
commit3f539d94dfb004f56b0382971500408e49c4245b (patch)
tree92c936b9a0c22fefa4299826f3e002ec3a80f352 /fnl/plugins
parent55a50821a7ecd5b4c1008515e88d126fd04c813b (diff)
Include BufNewFile event
Diffstat (limited to 'fnl/plugins')
-rw-r--r--fnl/plugins/bqf.fnl2
-rw-r--r--fnl/plugins/harpoon.fnl2
-rw-r--r--fnl/plugins/leap.fnl6
-rw-r--r--fnl/plugins/lsp/lspconfig.fnl2
-rw-r--r--fnl/plugins/lualine.fnl2
-rw-r--r--fnl/plugins/spectre.fnl2
-rw-r--r--fnl/plugins/stay-in-place.fnl2
-rw-r--r--fnl/plugins/textobjs.fnl2
-rw-r--r--fnl/plugins/window-picker.fnl2
9 files changed, 11 insertions, 11 deletions
diff --git a/fnl/plugins/bqf.fnl b/fnl/plugins/bqf.fnl
index 387ae19..38afd09 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 : opts}
+{1 :kevinhwang91/nvim-bqf :event [:BufReadPost :BufNewFile] : opts}
diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl
index 4b3cf84..c942183 100644
--- a/fnl/plugins/harpoon.fnl
+++ b/fnl/plugins/harpoon.fnl
@@ -40,4 +40,4 @@
(select 4))
:desc "Fourth Harpoon"}])
-{1 :ThePrimeagen/harpoon :branch :harpoon2 :event :BufReadPost : init : keys}
+{1 :ThePrimeagen/harpoon :branch :harpoon2 :event [:BufReadPost :BufNewFile] : init : keys}
diff --git a/fnl/plugins/leap.fnl b/fnl/plugins/leap.fnl
index c5b700d..b17df72 100644
--- a/fnl/plugins/leap.fnl
+++ b/fnl/plugins/leap.fnl
@@ -1,13 +1,13 @@
;; Leap through text.
(local dependencies [{1 :ggandor/flit.nvim
- :event :BufReadPost
+ :event [:BufReadPost :BufNewFile]
:opts {:keys {:f :f :F :F :t :t :T :T}
:labeled_modes :v
:multiline true
:opts {}}}
{1 :ggandor/leap-spooky.nvim
- :event :BufReadPost
+ :event [:BufReadPost :BufNewFile]
:opts {;; Additional text objects, to be merged with the default ones.
;; E.g.: {'iq', 'aq'}
:extra_text_objects nil
@@ -34,4 +34,4 @@
(leap.setup {})
(leap.set_default_keymaps)))
-{1 :ggandor/leap.nvim : dependencies :event :BufReadPost : config}
+{1 :ggandor/leap.nvim : dependencies :event [:BufReadPost :BufNewFile] : config}
diff --git a/fnl/plugins/lsp/lspconfig.fnl b/fnl/plugins/lsp/lspconfig.fnl
index b6949ec..a778eb3 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
+ :event [:BufReadPost :BufNewFile]
:dependencies [:mason.nvim
:williamboman/mason-lspconfig.nvim
:b0o/schemastore.nvim
diff --git a/fnl/plugins/lualine.fnl b/fnl/plugins/lualine.fnl
index 57fbc45..0ec9217 100644
--- a/fnl/plugins/lualine.fnl
+++ b/fnl/plugins/lualine.fnl
@@ -86,4 +86,4 @@
(local dependencies [:nvim-tree/nvim-web-devicons :arkav/lualine-lsp-progress])
-{1 :nvim-lualine/lualine.nvim :event :BufReadPost : opts : dependencies}
+{1 :nvim-lualine/lualine.nvim :event [:BufReadPost :BufNewFile] : opts : dependencies}
diff --git a/fnl/plugins/spectre.fnl b/fnl/plugins/spectre.fnl
index c7307f8..8c86a6d 100644
--- a/fnl/plugins/spectre.fnl
+++ b/fnl/plugins/spectre.fnl
@@ -83,4 +83,4 @@
{1 :<leader>re 2 :<cmd>Replace<cr> :desc :Replace}
{1 :<leader>ri 2 :<cmd>ReplaceWord<cr> :desc "Replace Word"}])
-{1 :windwp/nvim-spectre :event :BufReadPost : init : keys : opts}
+{1 :windwp/nvim-spectre :event [:BufReadPost :BufNewFile] : init : keys : opts}
diff --git a/fnl/plugins/stay-in-place.fnl b/fnl/plugins/stay-in-place.fnl
index b264a05..de6deb7 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 :config true}
+{1 :gbprod/stay-in-place.nvim :event [:BufReadPost :BufNewFile] :config true}
diff --git a/fnl/plugins/textobjs.fnl b/fnl/plugins/textobjs.fnl
index 8d68ac3..a36c0f8 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
+ :event [:BufReadPost :BufNewFile]
:opts {:useDefaultKeymaps true}}
diff --git a/fnl/plugins/window-picker.fnl b/fnl/plugins/window-picker.fnl
index e396ce1..046e927 100644
--- a/fnl/plugins/window-picker.fnl
+++ b/fnl/plugins/window-picker.fnl
@@ -16,4 +16,4 @@
(vim.keymap.set :n :<C-s> (fn []
(pick-window)) {})))
-{1 :s1n7ax/nvim-window-picker :event :BufReadPost :version :2.0.0 : config}
+{1 :s1n7ax/nvim-window-picker :event [:BufReadPost :BufNewFile] :version :2.0.0 : config}