summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}