Skip to content

Commit 25a0433

Browse files
comfysagesgoudham
authored andcommitted
feat(editor): completion ghost text
1 parent b5f9826 commit 25a0433

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lua/catppuccin/groups/editor.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ function M.get()
6464
fg = C.overlay0,
6565
style = { "bold" },
6666
}, -- Popup menu: selected item extra text.
67+
ComplMatchIns = { link = "PreInsert" }, -- Matched text of the currently inserted completion.
68+
PreInsert = { fg = C.overlay2 }, -- Text inserted when "preinsert" is in 'completeopt'.
69+
ComplHint = { fg = C.subtext0 }, -- Virtual text of the currently selected completion.
70+
ComplHintMore = { link = "Question" }, -- The additional information of the virtual text.
6771
Question = { fg = C.blue }, -- |hit-enter| prompt and yes/no questions
6872
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.
6973
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)