From 40cc77115d97f1ad33b38c799c428056a83027fb Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 10 Apr 2024 02:52:52 -0500 Subject: [PATCH] feat(nvim): allow `cmp-zsh` to source zshrc --- dots/.config/nvim/lua/plugins/configs/cmp.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/cmp.lua b/dots/.config/nvim/lua/plugins/configs/cmp.lua index 7e5b819f..effde019 100644 --- a/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -18,7 +18,13 @@ return { "hrsh7th/cmp-nvim-lsp-document-symbol", "hrsh7th/cmp-calc", "davidsierradz/cmp-conventionalcommits", - "tamago324/cmp-zsh", + { + "tamago324/cmp-zsh", + opts = { + zshrc = true, + filetypes = { "*" }, + }, + }, "dmitmel/cmp-cmdline-history", "David-Kunz/cmp-npm", "lukas-reineke/cmp-rg",