diff --git a/nvimrc b/nvimrc index 3c46f0e..1bc2b5d 100644 --- a/nvimrc +++ b/nvimrc @@ -262,8 +262,6 @@ runtime macros/matchit.vim " load other plugins: 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-rails " https://github.com/tpope/vim-rails.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-path " https://github.com/hrsh7th/cmp-path.git 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 "snippet_config" diff --git a/vim/lua/nvim_cmp_config.lua b/vim/lua/nvim_cmp_config.lua index ce63a8d..01a05d0 100644 --- a/vim/lua/nvim_cmp_config.lua +++ b/vim/lua/nvim_cmp_config.lua @@ -62,6 +62,7 @@ cmp.setup({ end, }, }, + { name = "tmux", option = { all_panes = true } }, { name = "path" }, { name = "calc" }, }),