This commit is contained in:
ant 2023-09-11 09:43:24 +02:00
parent 82026c2c1b
commit ea4f88ff98
2 changed files with 44 additions and 44 deletions

View file

@ -22,10 +22,10 @@ local opts = {
lualine_b = { 'branch', 'diff' }, lualine_b = { 'branch', 'diff' },
lualine_c = { lualine_c = {
'filename', 'filename',
{ -- {
require("noice").api.status.mode.get, -- require("noice").api.status.mode.get,
cond = require("noice").api.status.mode.has, -- cond = require("noice").api.status.mode.has,
}, -- },
}, },
lualine_x = { 'diagnostics', 'filetype' }, lualine_x = { 'diagnostics', 'filetype' },
lualine_y = { 'progress' }, lualine_y = { 'progress' },

View file

@ -70,7 +70,7 @@ local plugins = {
mason = true, mason = true,
neogit = true, neogit = true,
illuminate = false, illuminate = false,
noice = true, -- noice = true,
notify = true, notify = true,
telescope = { telescope = {
enabled = true, enabled = true,
@ -345,45 +345,45 @@ local plugins = {
end end
}, },
{ "ofseed/lualine-copilot" }, { "ofseed/lualine-copilot" },
{ -- {
"folke/noice.nvim", -- "folke/noice.nvim",
event = "VeryLazy", -- event = "VeryLazy",
opts = { -- opts = {
messages = { -- messages = {
view = "mini", -- default view for messages -- view = "mini", -- default view for messages
view_error = "notify", -- view for errors -- view_error = "notify", -- view for errors
view_warn = "notify", -- view for warnings -- view_warn = "notify", -- view for warnings
view_history = "messages", -- view for :messages -- view_history = "messages", -- view for :messages
view_search = "mini", -- view for search count messages. Set to `false` to disable -- view_search = "mini", -- view for search count messages. Set to `false` to disable
}, -- },
cmdline = { -- cmdline = {
view = "cmdline", -- view = "cmdline",
}, -- },
views = { -- views = {
lsp = { -- lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter** -- -- 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,
}, -- },
}, -- },
}, -- },
presets = { -- presets = {
-- you can enable a preset by setting it to true, or a table that will override the preset config -- -- you can enable a preset by setting it to true, or a table that will override the preset config
-- you can also add custom presets that you can enable/disable with enabled=true -- -- you can also add custom presets that you can enable/disable with enabled=true
bottom_search = true, -- use a classic bottom cmdline for search -- bottom_search = true, -- use a classic bottom cmdline for search
}, -- },
}, -- },
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",
-- OPTIONAL: -- -- OPTIONAL:
-- `nvim-notify` is only needed, if you want to use the notification view. -- -- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback -- -- If not available, we use `mini` as the fallback
"rcarriga/nvim-notify", -- "rcarriga/nvim-notify",
} -- }
}, -- },
{ {
"rcarriga/nvim-notify", "rcarriga/nvim-notify",
opts = { opts = {