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,
neogit = true,
noice = true,
dap = {
enabled = true,
enable_ui = true,
+20
View File
@@ -17,14 +17,34 @@
-- https://github.com/folke/noice.nvim
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 = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
hover = {
silent = true,
},
},
presets = {
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({
ensure_installed = {
"c",
"lua",
"vim",
"vimdoc",
"query",
"c", -- recommended default
"lua", -- recommended default
"vim", -- recommended default
"vimdoc", -- recommended default
"query", -- recommended default
"luadoc",
"phpdoc",
"regex", -- for noice
"bash", -- for noice
"markdown", -- for noice
"markdown_inline", -- for noice
"org",
},
auto_install = true,