Comments (4)
I found out how to reproduce it; i was missing the tmux = true;
within the source
block, within the require'compe'.setup
block.
I figured i'll add it later after verifying the plugin works, but I guess this works fine too. Cheers on your prompt response and help.
from cmp-tmux.
Aha! I've pushed an update that makes sure it does not throw an exception in this case. Cheers!
from cmp-tmux.
Can you share your compe config ?
from cmp-tmux.
Here is a minimal example config that I created using packer. Can't seem to reproduce it though 🤔
require('packer').startup(function()
use { 'andersevenrud/compe-tmux', requires = { 'hrsh7th/nvim-compe' } }
end)
require'compe'.setup {
enabled = true;
autocomplete = true;
debug = false;
min_length = 1;
preselect = 'enable';
throttle_time = 80;
source_timeout = 200;
incomplete_delay = 400;
max_abbr_width = 100;
max_kind_width = 100;
max_menu_width = 100;
documentation = true;
source = {
path = true;
buffer = true;
calc = true;
nvim_lsp = true;
nvim_lua = true;
vsnip = false;
ultisnips = false;
tmux = true;
};
}
vim.cmd[[inoremap <silent><expr> <C-Space> compe#complete()]]
vim.cmd[[inoremap <silent><expr> <CR> compe#confirm('<CR>')]]
vim.cmd[[inoremap <silent><expr> <C-e> compe#close('<C-e>')]]
vim.cmd[[inoremap <silent><expr> <C-f> compe#scroll({ 'delta': +4 })]]
vim.cmd[[inoremap <silent><expr> <C-d> compe#scroll({ 'delta': -4 })]]
vim.o.completeopt = "menuone,noselect"
from cmp-tmux.
Related Issues (17)
- Feature: Search all tabs and panes HOT 4
- Error on last update of cmp HOT 4
- Disable trigger chars HOT 5
- Packer error HOT 2
- How this should work? HOT 8
- [BUG] Error when using Neovim within TMUX popup and nvim-cmp HOT 5
- [Deprecate 'opts' name] nvim-cmp will complain about deprecated 'opts' field HOT 4
- Feature: Search all tabs and panes (from the current session only) HOT 6
- Support multibye charactor / unicode HOT 2
- Allow configuring keyword_pattern
- keyword_pattern didn't work HOT 2
- This plugin must be loaded after cmp to make options work HOT 4
- Error on nvim start HOT 21
- Support user-defined custom `kind` label HOT 1
- [BREAKING] Extension for nvim-cmp HOT 10
- Trim input string HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmp-tmux.