You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's related to tokyonight, if I change the color scheme to default or others it's transparent.
Here is a video since I'm having a hell of a time putting the issue into words, clearly. I'm a bit new to neovim, so I'm sure I'm overlooking something
The text was updated successfully, but these errors were encountered:
I don't see that behavior here with nvim-cmp. Parts of the word appearing at the end looks wonky too, so maybe a misconfiguration? Here's my next/prev mapping for nvim-cmp using [Shift] Tab:
Config
localhas_words_before=function()
ifvim.api.nvim_buf_get_option(0, "buftype") =="prompt" thenreturnfalseendlocalline, col=unpack(vim.api.nvim_win_get_cursor(0))
returncol~=0andvim.api.nvim_buf_get_lines(0, line-1, line, true)[1]:sub(col, col):match("%s") ==nilendcmp.setup() {
mapping= {
["<Tab>"] =cmp.mapping(function(fallback)
ifcmp.visible() thencmp.select_next_item()
elseifluasnip.expand_or_jumpable() thenluasnip.expand_or_jump()
elseifhas_words_before() then-- If tabbing after text in insert modecmp.complete() -- Open cmp menu (normally Tab wouldn't trigger this)elsefallback()
endend, { "i", "s" }),
["<S-Tab>"] =cmp.mapping(function(fallback)
ifcmp.visible() thencmp.select_prev_item()
elseifluasnip.jumpable(-1) thenluasnip.jump(-1)
elsefallback()
endend, { "i", "s" }),
["<Cr>"] =cmp.mapping.confirm()
},
I think it's related to tokyonight, if I change the color scheme to default or others it's transparent.
Here is a video since I'm having a hell of a time putting the issue into words, clearly. I'm a bit new to neovim, so I'm sure I'm overlooking something
The text was updated successfully, but these errors were encountered: