diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-17 19:11:17 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2024-09-17 19:11:17 -0500 |
commit | 67dad494270f077a508bf0e4b11d70d7c1de4ad2 (patch) | |
tree | 10e2eda9791f60d02e8305bf8da0a164e1ca8857 /nvim/lua/tjk/plugins/cmp.lua | |
parent | a4b9eac785350ad2a3cd9c5312b272adcc5b0df5 (diff) | |
download | dotconfig-67dad494270f077a508bf0e4b11d70d7c1de4ad2.tar.xz dotconfig-67dad494270f077a508bf0e4b11d70d7c1de4ad2.zip |
add nvim-cmp plugin to nvim
Diffstat (limited to 'nvim/lua/tjk/plugins/cmp.lua')
-rw-r--r-- | nvim/lua/tjk/plugins/cmp.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/nvim/lua/tjk/plugins/cmp.lua b/nvim/lua/tjk/plugins/cmp.lua new file mode 100644 index 0000000..59ce630 --- /dev/null +++ b/nvim/lua/tjk/plugins/cmp.lua @@ -0,0 +1,18 @@ +return { + "hrsh7th/nvim-cmp", + dependencies = { + "hrsh7th/cmp-path", + "hrsh7th/cmp-buffer", + "ray-x/cmp-treesitter", + }, + config = function() + local cmp = require("cmp") + cmp.setup { + sources = { + { name = "path" }, + { name = "buffer" }, + { name = "treesitter" }, + } + } + end +} |