diff options
author | sefidel <contact@sefidel.net> | 2023-10-04 17:08:46 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-10-04 17:08:46 +0900 |
commit | 9da6e2e4dc835343ff37fea6f0ecfdf2072876c9 (patch) | |
tree | 6740ec72850051371efffa388fe34bcae694e38b /fnl | |
parent | 6e9d0c8704b17bb246087e427681fadc71837404 (diff) | |
download | nvimrc-9da6e2e4dc835343ff37fea6f0ecfdf2072876c9.tar.gz nvimrc-9da6e2e4dc835343ff37fea6f0ecfdf2072876c9.zip |
feat(pack): also load lsp on BufNewFile
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/nvrc/pack.fnl | 4 |
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]}) |