feat(nvim): tmux cmp integration

This commit is contained in:
Rob Watson 2023-10-04 05:54:24 +02:00
parent 36763ac5f6
commit 896039d13f
2 changed files with 2 additions and 2 deletions

3
nvimrc
View File

@ -262,8 +262,6 @@ runtime macros/matchit.vim
" load other plugins: " load other plugins:
packadd! rust.vim " https://github.com/rust-lang/rust.vim.git packadd! rust.vim " https://github.com/rust-lang/rust.vim.git
" TODO: replace with nvim_cmp:
packadd! tmux-complete.vim " https://github.com/wellle/tmux-complete.vim.git
packadd! vim-commentary " https://github.com/tpope/vim-commentary.git packadd! vim-commentary " https://github.com/tpope/vim-commentary.git
packadd! vim-rails " https://github.com/tpope/vim-rails.git packadd! vim-rails " https://github.com/tpope/vim-rails.git
packadd! vim-jsx-pretty " https://github.com/MaxMEllon/vim-jsx-pretty.git packadd! vim-jsx-pretty " https://github.com/MaxMEllon/vim-jsx-pretty.git
@ -306,6 +304,7 @@ packadd! cmp-nvim-lsp " https://github.com/hrsh7th/cmp-nvim-lsp.git
packadd! cmp-buffer " https://github.com/hrsh7th/cmp-buffer.git packadd! cmp-buffer " https://github.com/hrsh7th/cmp-buffer.git
packadd! cmp-path " https://github.com/hrsh7th/cmp-path.git packadd! cmp-path " https://github.com/hrsh7th/cmp-path.git
packadd! cmp-calc " https://github.com/hrsh7th/cmp-calc packadd! cmp-calc " https://github.com/hrsh7th/cmp-calc
packadd! cmp-tmux " https://github.com/andersevenrud/cmp-tmux.git
lua require "nvim_cmp_config" lua require "nvim_cmp_config"
lua require "snippet_config" lua require "snippet_config"

View File

@ -62,6 +62,7 @@ cmp.setup({
end, end,
}, },
}, },
{ name = "tmux", option = { all_panes = true } },
{ name = "path" }, { name = "path" },
{ name = "calc" }, { name = "calc" },
}), }),