From 9da6e2e4dc835343ff37fea6f0ecfdf2072876c9 Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 4 Oct 2023 17:08:46 +0900 Subject: feat(pack): also load lsp on BufNewFile --- fnl/nvrc/pack.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl') 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]}) -- cgit 1.4.1