mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 20:19:47 +01:00
Merge pull request #96 from horriblename/fix-cmp-abort
fix cmp abort and scrollDocs keymap
This commit is contained in:
commit
a8c5564bac
2 changed files with 9 additions and 15 deletions
|
@ -8,4 +8,6 @@
|
||||||
|
|
||||||
https://github.com/horriblename[horriblename]:
|
https://github.com/horriblename[horriblename]:
|
||||||
|
|
||||||
* Add transparency support for tokyonight theme
|
* Add transparency support for tokyonight theme.
|
||||||
|
|
||||||
|
* Fix bug where cmp's close and scrollDocs mappings wasn't working.
|
||||||
|
|
|
@ -106,17 +106,13 @@ in {
|
||||||
end
|
end
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.close ''
|
(mkSetLuaBinding mappings.close ''
|
||||||
require('cmp').mapping.abort
|
require('cmp').mapping.abort()
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.scrollDocsUp ''
|
(mkSetLuaBinding mappings.scrollDocsUp ''
|
||||||
function()
|
|
||||||
require('cmp').mapping.scroll_docs(-4)
|
require('cmp').mapping.scroll_docs(-4)
|
||||||
end
|
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.scrollDocsDown ''
|
(mkSetLuaBinding mappings.scrollDocsDown ''
|
||||||
function()
|
|
||||||
require('cmp').mapping.scroll_docs(4)
|
require('cmp').mapping.scroll_docs(4)
|
||||||
end
|
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -125,17 +121,13 @@ in {
|
||||||
require('cmp').complete
|
require('cmp').complete
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.close ''
|
(mkSetLuaBinding mappings.close ''
|
||||||
require('cmp').mapping.close
|
require('cmp').mapping.close()
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.scrollDocsUp ''
|
(mkSetLuaBinding mappings.scrollDocsUp ''
|
||||||
function()
|
|
||||||
require('cmp').mapping.scroll_docs(-4)
|
require('cmp').mapping.scroll_docs(-4)
|
||||||
end
|
|
||||||
'')
|
'')
|
||||||
(mkSetLuaBinding mappings.scrollDocsDown ''
|
(mkSetLuaBinding mappings.scrollDocsDown ''
|
||||||
function()
|
|
||||||
require('cmp').mapping.scroll_docs(4)
|
require('cmp').mapping.scroll_docs(4)
|
||||||
end
|
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue