fix noice conflict

This commit is contained in:
Christoph J. Scherr 2024-01-20 17:26:50 +01:00
parent e8537c9aec
commit fcd370fa7e
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
4 changed files with 26 additions and 6 deletions

View File

@ -7,7 +7,7 @@ opt.spelllang = "en,de"
opt.clipboard = "" -- don't just use the system clipboard opt.clipboard = "" -- don't just use the system clipboard
opt.wrap = false opt.wrap = false
opt.breakindent = false opt.breakindent = false
opt.spell = true opt.spell = false
opt.list = true opt.list = true
opt.conceallevel = 2 opt.conceallevel = 2
opt.undofile = true opt.undofile = true

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,23 @@ Parth
Narula Narula
wordpress wordpress
PlexSheep's PlexSheep's
nvchad
IDK
lazyloading
nv
ftplugins
stylua
nvim
lsp
builtins
cmdline
popupmenu
󰈻
󰈼
󰈽
󰈾
󰈿
󰉀
#m
ufo
treesitter

Binary file not shown.