Finish setting up noice
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user