several small updates
This commit is contained in:
parent
545b3d492f
commit
b0c61768db
9 changed files with 432 additions and 415 deletions
|
@ -1,36 +1,37 @@
|
|||
return {
|
||||
"folke/noice.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
{ "nvim-telescope/telescope.nvim", optional = true },
|
||||
},
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
routes = {
|
||||
-- I want telescope-ui-select to trigger here not noice
|
||||
{ filter = { event = "lsp", kind = "search_count" }, opts = { skip = true } },
|
||||
},
|
||||
messages = {
|
||||
view = "mini", -- default view for messages
|
||||
view_error = "notify", -- view for errors
|
||||
view_warn = "mini", -- view for warnings
|
||||
view_history = "messages", -- view for :messages
|
||||
view_search = false, -- view for search count messages. Set to `false` to disable
|
||||
},
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
["vim.lsp.util.stylize_markdown"] = true,
|
||||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("noice").setup(opts)
|
||||
U.safeRequire("telescope", function(t)
|
||||
t.load_extension("noice")
|
||||
end)
|
||||
end,
|
||||
"folke/noice.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
{ "nvim-telescope/telescope.nvim", optional = true },
|
||||
},
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
routes = {
|
||||
-- I want telescope-ui-select to trigger here not noice
|
||||
{ filter = { event = "lsp", kind = "search_count" }, opts = { skip = true } },
|
||||
{ filter = { event = "lsp" }, opts = { skip = true } }, -- TODO come back to this, im having weird issues with insert mode getting broken.
|
||||
},
|
||||
messages = {
|
||||
view = "mini", -- default view for messages
|
||||
view_error = "notify", -- view for errors
|
||||
view_warn = "mini", -- view for warnings
|
||||
view_history = "messages", -- view for :messages
|
||||
view_search = false, -- view for search count messages. Set to `false` to disable
|
||||
},
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
["vim.lsp.util.stylize_markdown"] = true,
|
||||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("noice").setup(opts)
|
||||
U.safeRequire("telescope", function(t)
|
||||
t.load_extension("noice")
|
||||
end)
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue