-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config merging does not convert vim.NIL to nil #897
Comments
Well...
The mapping config is needed? As I know the default mappings are removed. |
Hi @Shougo, thanks for the comment! After today's breaking change #895, this is not needed any more. I tried removing this line, and indeed no more errors. However, that specific line was necessary, until today; four days ago #880 required us to explicitly disable it (and now the default mapping has been removed). Even with the explicit disabling, it should behave the same. |
OK. The main problem seems |
Exactly! |
Avoid a bug in hrsh7th/nvim-cmp#897; these lines are no longer needed in newer versions of nvim-cmp due to removal of default key mappings.
I think you should simply remove But it's like a bug. I'll check it. |
…indow * upstream/main: (31 commits) fix entry highlight in complete-menu (hrsh7th#1593) Remove max_item_count from source configuration feat: cmp async (hrsh7th#1583) ghost text inline (hrsh7th#1588) Fix demo video in README.md (hrsh7th#1585) docs: fix adjecent typo (hrsh7th#1577) docs: fix typos, add confirm.behavior example cfg (hrsh7th#1576) perf(source): only filter up to 200 entries and dont use the cache (hrsh7th#1574) fix(ghost_text): safely apply virtual_text highlight (hrsh7th#1563) Improve misc.merge Fix hrsh7th#897 Added a modified=false to documentation buffer, so it can be removed without E89 errors (hrsh7th#1557) Fix hrsh7th#1556 fix 1533, add regression test (hrsh7th#1558) Add `buftype=nofile` for entries_win and docs_win - reddit user mention this... Fix hrsh7th#1550 Format with stylua Add test for hrsh7th#1552 Close hrsh7th#1552 Revert hrsh7th#1534 temporaly fix typo (hrsh7th#1551) ...
FAQ
Issues
Neovim Version
v0.7.0-dev+963-g082ff2190
Minimal reproducible full config
cmp version: dbc7229
minimal.vim
Note the config
['<Tab>'] = { .... c = cmp.config.disable }
to disable TAB mappings in the command line.Description
<Tab>
keys are broken again. When pressing it, an error occurs.Steps to reproduce
Press
<Tab>
in the command-line.Expected behavior
Actual behavior
Additional context
This happened due to recent breaking changes in the keymappings.
Can we completely disable and prevent cmp from taking
<cmp>
keymaps via the "delegation" or "fallback" mechanism? As in #590, I absolutely don't want the following cmap to exist when keymaps are configured to be disabled:The text was updated successfully, but these errors were encountered: