Skip to content

Commit c2b7c9f

Browse files
committed
feat(editor): completion ghost text
1 parent 12baa52 commit c2b7c9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/catppuccin/groups/editor.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ function M.get()
7070
bg = C.mantle,
7171
})
7272
or { fg = C.blue, bg = (O.transparent_background and vim.o.pumblend == 0) and C.none or C.mantle }, -- Popup menu: border of popup menu.
73+
ComplMatchIns = { link = "PreInsert" }, -- Matched text of the currently inserted completion.
74+
PreInsert = { fg = C.overlay2 }, -- Text inserted when "preinsert" is in 'completeopt'.
75+
ComplHint = { fg = C.subtext0 }, -- Virtual text of the currently selected completion.
76+
ComplHintMore = { link = "Question" }, -- The additional information of the virtual text.
7377
Question = { fg = C.blue }, -- |hit-enter| prompt and yes/no questions
7478
QuickFixLine = { bg = U.darken(C.surface1, 0.70, C.base), style = { "bold" } }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
7579
Search = { bg = U.darken(C.sky, 0.30, C.base), fg = C.text }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.

0 commit comments

Comments
 (0)