mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-08 12:42:02 +00:00
Adding ghost text for cmp
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
vim.g["dispatch_no_maps"] = 1
|
||||
|
||||
|
||||
local wk = require("which-key")
|
||||
wk.register({
|
||||
b = { "<cmd>Make<cr>", "Build project" },
|
||||
|
||||
@@ -10,11 +10,11 @@ end
|
||||
|
||||
local kind_icons = {
|
||||
Text = "",
|
||||
Method = "m",
|
||||
Method = "",
|
||||
Function = "",
|
||||
Constructor = "",
|
||||
Field = "",
|
||||
Variable = "",
|
||||
Field = "ﰠ",
|
||||
Variable = "",
|
||||
Class = "",
|
||||
Interface = "",
|
||||
Module = "",
|
||||
@@ -29,8 +29,8 @@ local kind_icons = {
|
||||
Reference = "",
|
||||
Folder = "",
|
||||
EnumMember = "",
|
||||
Constant = "",
|
||||
Struct = "",
|
||||
Constant = "",
|
||||
Struct = "פּ",
|
||||
Event = "",
|
||||
Operator = "",
|
||||
TypeParameter = "",
|
||||
@@ -94,6 +94,12 @@ cmp.setup({
|
||||
return vim_item
|
||||
end,
|
||||
},
|
||||
documentation = {
|
||||
border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
||||
},
|
||||
experimental = {
|
||||
ghost_text = true,
|
||||
},
|
||||
})
|
||||
|
||||
cmp.setup.cmdline('/', {
|
||||
|
||||
Reference in New Issue
Block a user