disable ghost text in nvim

This commit is contained in:
insects 2024-07-23 16:44:32 +02:00
parent c50a5ce360
commit 1a87b4c161
2 changed files with 45 additions and 33 deletions

View file

@ -13,9 +13,12 @@ require("lazy").setup({
-- import any extras modules here -- import any extras modules here
{ import = "lazyvim.plugins.extras.editor.aerial" }, { import = "lazyvim.plugins.extras.editor.aerial" },
{ import = "lazyvim.plugins.extras.editor.leap" }, { import = "lazyvim.plugins.extras.editor.leap" },
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.lang.svelte" },
{ import = "lazyvim.plugins.extras.lang.rust" }, { import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.haskell" }, { import = "lazyvim.plugins.extras.lang.haskell" },
{ import = "lazyvim.plugins.extras.formatting.prettier" }, { import = "lazyvim.plugins.extras.formatting.prettier" },
{ import = "lazyvim.plugins.extras.util.chezmoi" },
-- import/override with your plugins -- import/override with your plugins
{ import = "plugins" }, { import = "plugins" },
}, },

View file

@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
opts = function(_, opts)
opts.experimental = {
-- Disable ghost text because it pisses me off.
ghost_text = false,
}
end,
}