Skip to content

How can I change the border colour of completion window? #1942

Discussion options

You must be logged in to vote

Well i just found this out so here is the solution.

-- Replace `fg` with your border colour
vim.api.nvim_set_hl(0, "CmpBorder", { bg = "NONE", fg = "#6587CE" })

window = {
  completion = {
    border = "rounded",
    scrollbar = false,
    winhighlight = "FloatBorder:CmpBorder",
  },
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jasper-at-windswept
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant