about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-26 09:25:59 +0900
committersefidel <contact@sefidel.net>2022-02-26 09:25:59 +0900
commitee0fbc01827d8136fd8499772c1e1038b309609e (patch)
tree21e745ec6dd795d8a0086ecb2f791ea57884a98e
parenta6cd962252e93d780f95f1bb0667d5a478bfda61 (diff)
downloadnvimrc-ee0fbc01827d8136fd8499772c1e1038b309609e.tar.gz
nvimrc-ee0fbc01827d8136fd8499772c1e1038b309609e.zip
feat(pack): defer
-rw-r--r--fnl/nvrc/ignite.fnl1
-rw-r--r--fnl/nvrc/pack.fnl18
2 files changed, 10 insertions, 9 deletions
diff --git a/fnl/nvrc/ignite.fnl b/fnl/nvrc/ignite.fnl
index ce4f46a..a57fd0e 100644
--- a/fnl/nvrc/ignite.fnl
+++ b/fnl/nvrc/ignite.fnl
@@ -1,6 +1,7 @@
 ; Get the rocket going
 (import-macros {: set!} :nvrc.macro.set)
 
+((. (require :nvrc.colors) :apply) :jellybeans)
 (require :nvrc.options)
 (require :nvrc.pack)
 (require :nvrc.keymaps)
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index 074fe80..384def4 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -6,34 +6,34 @@
 (pack! :nvim-lua/plenary.nvim {:module :plenary})
 (pack! :nathom/filetype.nvim {:req :filetype})
 
-(pack! :nanotech/jellybeans.vim {:config "require('nvrc.colors').apply('jellybeans')"})
+(pack! :nanotech/jellybeans.vim)
 (pack! :feline-nvim/feline.nvim {:req :feline})
-(pack! :lukas-reineke/indent-blankline.nvim {:req :blankline})
+(pack! :lukas-reineke/indent-blankline.nvim {:req :blankline :defer :indent-blankline.nvim})
 (pack! :NvChad/nvim-colorizer.lua {:init :colorizer :cmd :ColorizerToggle})
 (pack! :nvim-treesitter/nvim-treesitter {:req :treesitter
                                          :run ":TSUpdate"
-                                         :requires [(pack :p00f/nvim-ts-rainbow {:after :nvim-treesitter :commit :2da916a})
+                                         :requires [(pack :p00f/nvim-ts-rainbow {:after :nvim-treesitter})
                                                     (pack :nvim-treesitter/nvim-treesitter-refactor {:after :nvim-treesitter})
                                                     (pack :nvim-treesitter/nvim-treesitter-textobjects {:after :nvim-treesitter})
                                                     (pack :JoosepAlviste/nvim-ts-context-commentstring {:after :nvim-treesitter})]})
-(pack! :lewis6991/gitsigns.nvim {:req :gitsigns})
+(pack! :lewis6991/gitsigns.nvim {:req :gitsigns :defer :gitsigns.nvim})
 (pack! :sindrets/diffview.nvim {:req :diffview :cmd [:DiffviewOpen :DiffviewFileHistory] :module_pattern [:diffview :diffview.*]})
 (pack! :Pocco81/TrueZen.nvim {:cmd [:TZMinimalist :TZFocus :TZAtaraxis]})
-(pack! :stefandtw/quickfix-reflector.vim {:ft :qf})
+(pack! :stefandtw/quickfix-reflector.vim {:ft :qf :defer :quickfix-reflector.vim})
 
 (pack! :hrsh7th/nvim-cmp {:req :cmp :event :InsertCharPre})
 (pack! :luukvbaal/stabilize.nvim {:init :stabilize})
 (pack! :antoinemadec/FixCursorHold.nvim)
 (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment})
-(pack! :lewis6991/spaceless.nvim {:init :spaceless})
-(pack! :tpope/vim-surround)
+(pack! :lewis6991/spaceless.nvim {:init :spaceless :defer :spaceless.nvim})
+(pack! :tpope/vim-surround {:defer :vim-surround})
 (pack! :junegunn/vim-easy-align {:keys "<Plug>EasyAlign"})
 (pack! :monaqa/dial.nvim {:keys [:<C-a> :<C-x>]})
 (pack! :ggandor/lightspeed.nvim)
 (pack! :nacro90/numb.nvim {:init :numb})
 (pack! :ibhagwan/fzf-lua {:req :fzf :module :fzf-lua :cmd :FzfLua})
-(pack! :andymass/vim-matchup)
-(pack! :ThePrimeagen/harpoon {:req :harpoon})
+(pack! :andymass/vim-matchup {:defer :vim-matchup})
+(pack! :ThePrimeagen/harpoon {:req :harpoon :defer :harpoon})
 (pack! :gpanders/editorconfig.nvim)
 
 (pack! :neovim/nvim-lspconfig {:req :lspconfig