Finish setting up noice

This commit is contained in:
2023-09-19 16:05:35 +02:00
parent f12eff2a2d
commit 54d7f7c77c
3 changed files with 31 additions and 5 deletions
+1
View File
@@ -34,6 +34,7 @@ catppuccin.setup({
}, },
mason = true, mason = true,
neogit = true, neogit = true,
noice = true,
dap = { dap = {
enabled = true, enabled = true,
enable_ui = true, enable_ui = true,
+20
View File
@@ -17,14 +17,34 @@
-- https://github.com/folke/noice.nvim -- https://github.com/folke/noice.nvim
require("noice").setup({ require("noice").setup({
cmdline = {
view = "cmdline_popup",
format = {
cmdline = false,
search_down = false,
search_up = false,
filter = false,
lua = false,
help = false,
},
},
messages = {
enabled = true,
},
lsp = { lsp = {
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 = {
silent = true,
},
}, },
presets = { presets = {
command_palette = true, command_palette = true,
}, },
}) })
-- using notify directly instead
-- vim.notify = require("noice").notify
+10 -5
View File
@@ -18,13 +18,18 @@
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
ensure_installed = { ensure_installed = {
"c", "c", -- recommended default
"lua", "lua", -- recommended default
"vim", "vim", -- recommended default
"vimdoc", "vimdoc", -- recommended default
"query", "query", -- recommended default
"luadoc", "luadoc",
"phpdoc", "phpdoc",
"regex", -- for noice
"bash", -- for noice
"markdown", -- for noice
"markdown_inline", -- for noice
"org",
}, },
auto_install = true, auto_install = true,