fix noice conflict

This commit is contained in:
Christoph J. Scherr 2024-01-20 17:26:50 +01:00
parent e8537c9aec
commit 1bf051335a
No known key found for this signature in database
GPG key ID: 7CDD0B14851A08EF
3 changed files with 7 additions and 5 deletions

View file

@ -312,9 +312,7 @@ local plugins = {
"folke/noice.nvim", "folke/noice.nvim",
enabled = not vim.g.started_by_firenvim, enabled = not vim.g.started_by_firenvim,
event = "VeryLazy", event = "VeryLazy",
opts = { -- config.lsp.signature.enabled = false
-- add any options here
},
dependencies = { dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
@ -326,13 +324,15 @@ local plugins = {
config = function() config = function()
require("noice").setup { require("noice").setup {
lsp = { lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = { override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true, ["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true, ["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true, ["cmp.entry.get_documentation"] = true,
["hover.enabled"] = false,
}, },
-- IDK how to disable the nvchad builtins for this, which would
-- produce a conflict
signature = { enabled = false },
hover = { enabled = false },
}, },
-- you can enable a preset for easier configuration -- you can enable a preset for easier configuration
presets = { presets = {

View file

@ -240,3 +240,5 @@ Parth
Narula Narula
wordpress wordpress
PlexSheep's PlexSheep's
nvchad
IDK

Binary file not shown.