about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/pack.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index 9efabbd..c8ce6ec 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -16,10 +16,10 @@
 (pack! :echasnovski/mini.indentscope {:req :mini-indentscope})
 
 (pack! :neovim/nvim-lspconfig {:req :lspconfig
-                               :event :BufReadPre
+                               :event [:BufReadPre :BufNewFile]
                                :dependencies [(pack :j-hui/fidget.nvim {:req :fidget :branch :legacy})]})
 (pack! :simrat39/rust-tools.nvim {:req :rust
-                                  :event :BufReadPre ;; doesn't work when loaded on filetype
+                                  :event [:BufReadPre :BufNewFile] ;; doesn't work when loaded on filetype
                                   :dependencies [(pack :nvim-lua/plenary.nvim)]})
 (pack! :p00f/clangd_extensions.nvim {:req :clangd
                                      :ft [:c :cpp :objc :objcpp]})