From 577ef928735e8a79b22e00001f8f332e187bc712 Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 26 Aug 2024 12:15:34 +0200 Subject: [PATCH] addet ghost text --- lua/pika/core/options.lua | 2 ++ lua/pika/plugins/nvim-cmp.lua | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/pika/core/options.lua b/lua/pika/core/options.lua index 15f178f..10e404f 100644 --- a/lua/pika/core/options.lua +++ b/lua/pika/core/options.lua @@ -43,6 +43,8 @@ o.clipboard:append("unnamedplus") -- use system clipboard as default register -- split windows o.splitright = true -- split vertical window to the right o.splitbelow = true -- split horizontal window to the bottom +o.splitkeep = "screen" +o.laststatus = 3 -- turn off swapfile o.swapfile = false diff --git a/lua/pika/plugins/nvim-cmp.lua b/lua/pika/plugins/nvim-cmp.lua index aff5b5a..0ea75e5 100644 --- a/lua/pika/plugins/nvim-cmp.lua +++ b/lua/pika/plugins/nvim-cmp.lua @@ -72,6 +72,9 @@ return { completion = cmp.config.window.bordered(), documentation = cmp.config.window.bordered(), }, + experimental = { + ghost_text = true, -- This enables the inline ghost text + }, }) end, -} +} \ No newline at end of file