From 806e7c5385071a9fa992be89e5905181c4926132 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Tue, 5 Mar 2024 12:07:58 -0500 Subject: [PATCH] Add a filesystem paths nvim-cmp source --- .gitmodules | 3 +++ readme.md | 1 + vim/bundle/cmp-async-path | 1 + vim/config/plugins/nvim-cmp.lua | 1 + 4 files changed, 6 insertions(+) create mode 160000 vim/bundle/cmp-async-path diff --git a/.gitmodules b/.gitmodules index 88a7311..f2f367e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -88,3 +88,6 @@ [submodule "vim/bundle/cmp-omni"] path = vim/bundle/cmp-omni url = https://github.com/hrsh7th/cmp-omni +[submodule "vim/bundle/cmp-async-path"] + path = vim/bundle/cmp-async-path + url = https://codeberg.org/FelipeLema/cmp-async-path diff --git a/readme.md b/readme.md index 323b12b..b91a4d8 100644 --- a/readme.md +++ b/readme.md @@ -121,6 +121,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the * [lightline.vim](https://github.com/itchyny/lightline.vim): A light and configurable statusline/tabline for Vim * [lightline-ale](https://github.com/maximbaz/lightline-ale): Provides ALE indicator for the lightline vim plugin * [nvim-cmp](https://github.com/hrsh7th/nvim-cmp): A completion engine plugin for neovim written in Lua + * [cmp-async-path](https://codeberg.org/FelipeLema/cmp-async-path): Async filesystem path source for nvim-cmp * [cmp-buffer](https://github.com/hrsh7th/cmp-buffer): Buffer words source for nvim-cmp * [cmp-nvim-tags](https://github.com/quangnguyen30192/cmp-nvim-tags): Tags source for nvim-cmp * [cmp-omni](https://github.com/hrsh7th/cmp-omni): Omnifunc source for cmp-nvim diff --git a/vim/bundle/cmp-async-path b/vim/bundle/cmp-async-path new file mode 160000 index 0000000..6eeaf0f --- /dev/null +++ b/vim/bundle/cmp-async-path @@ -0,0 +1 @@ +Subproject commit 6eeaf0f3968ea1e6f135a5ee5aa01828f66611a5 diff --git a/vim/config/plugins/nvim-cmp.lua b/vim/config/plugins/nvim-cmp.lua index 8d9ea42..5f36d86 100644 --- a/vim/config/plugins/nvim-cmp.lua +++ b/vim/config/plugins/nvim-cmp.lua @@ -51,6 +51,7 @@ if (vim.g.enablecompletion == 1) then { name = "buffer" }, { name = "treesitter" }, { name = "omni" }, + { name = "async_path" }, { name = "tags", option = { current_buffer_only = true } }, { name = "snippy" }, }),