Closed qbnil closed 3 months ago
turn off the signature.. how small is your screen? it should usually show under the cursor if there's space
I got a 15.6 laptop. I got what you mean. How do i get rid of the ligature window's border then
the problem is that the ligature window still apears when there is a " inside (). It'd be awesome if i could get rid of that feature and only leave the window when the first curly is being types -> ( ....
this way before the " it works perfectly
hmmm not really, cuz typing " wont get u cmp completions, so signature is visible
the signature module checks if current/previous char have triggered chars from lsp
https://github.com/NvChad/ui/blob/v2.5/lua/nvchad/lsp/signature.lua#L18
hmmm not really, cuz typing " wont get u cmp completions, so signature is visible the second i type " the completion menu appears and overlays the signature window
i also noticed that this happens when there is no space for either cmp window down below or above like here:
In the middle of the screen everything is perfect:
In the middle of the screen everything is perfect:
yes, if they dont get enough space then obviously they will be above cursor and cmp has more priority
i'm really struggling bruhh.. i can't disable lsp signature border... and cmp documentation border... config = function(_, opts) local cmp = require "cmp"
local myopts = {
-- sources = {
-- { name = "nvim_lsp_signature_help" },
-- },
window = {
documentation = {
border = "none",
},
},
mapping = {
["<A-a>"] = cmp.mapping.confirm({ select = false }),
["<A-e>"] = cmp.mapping.abort(),
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
},
}
opts = vim.tbl_deep_extend("force", myopts, opts)
require("cmp").setup(opts)
i tried to override like that but that didn't seem to work
nevermind, fixed this..
is there any way to delete the default mapping, because
just set it to nil and it worked..
just set it to nil and it worked..
yes thats the way, in neovim, tables with keys/values must need their keys = nil for deleting them
Is there any way i can position these windows normally and also get rid of the border in one of the windows, thx...