summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2024-09-17 19:11:17 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2024-09-17 19:11:17 -0500
commit67dad494270f077a508bf0e4b11d70d7c1de4ad2 (patch)
tree10e2eda9791f60d02e8305bf8da0a164e1ca8857
parenta4b9eac785350ad2a3cd9c5312b272adcc5b0df5 (diff)
downloaddotconfig-67dad494270f077a508bf0e4b11d70d7c1de4ad2.tar.xz
dotconfig-67dad494270f077a508bf0e4b11d70d7c1de4ad2.zip
add nvim-cmp plugin to nvim
-rw-r--r--nvim/lua/tjk/plugins/cmp.lua18
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
+}