diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-08-15 20:28:13 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-08-15 20:28:13 +0200 |
| commit | 17e319a4455f3135ed3cc759dee8ba5034fde75b (patch) | |
| tree | 6d07c1875ae2736a5f3eb026a243328ab5c73fca /.config/nvim/lua/pm/plugins/nvim-cmp/load.lua | |
| parent | 346854ff3ea83202de7437f01f1c1c336f4c3edf (diff) | |
Diffstat (limited to '.config/nvim/lua/pm/plugins/nvim-cmp/load.lua')
| -rw-r--r-- | .config/nvim/lua/pm/plugins/nvim-cmp/load.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/nvim/lua/pm/plugins/nvim-cmp/load.lua b/.config/nvim/lua/pm/plugins/nvim-cmp/load.lua new file mode 100644 index 0000000..25509d5 --- /dev/null +++ b/.config/nvim/lua/pm/plugins/nvim-cmp/load.lua @@ -0,0 +1,20 @@ +return { + 'hrsh7th/nvim-cmp', + event = "InsertEnter", + dependencies = { + { + "L3MON4D3/LuaSnip", + dependencies = "rafamadriz/friendly-snippets", + opts = { history = true, updateevents = "TextChanged,TextChangedI" }, + config = function(_, opts) + require("luasnip").config.set_config(opts) + end, + }, + { + "saadparwaiz1/cmp_luasnip", + "hrsh7th/cmp-nvim-lua", + "hrsh7th/cmp-nvim-lsp", + "hrsh7th/cmp-path", + }, + }, +} |