]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/ui.lua
nvim/ui: always show bufferline
[dotfiles.git] / nvim / lua / plugins / ui.lua
1 return {
2 {
3 "bufferline.nvim",
4 opts = {
5 options = {
6 always_show_bufferline = true,
7 },
8 },
9 },
10 {
11 "noice.nvim",
12 opts = {
13 presets = {
14 command_palette = false, -- don't position the cmdline and popupmenu together
15 lsp_doc_border = true, -- add a border to hover docs and signature help
16 },
17 cmdline = {
18 view = "cmdline",
19 },
20 routes = {
21 { -- send file written messages to mini
22 filter = {
23 event = "msg_show",
24 kind = "",
25 find = "%[w%]",
26 },
27 opts = { skip = true },
28 },
29 },
30 },
31 config = function(_, opts)
32 -- ensure [w] is written to msg_show so we can match it
33 vim.opt.shortmess:append("w")
34 vim.opt.shortmess:remove("W")
35
36 require("noice").setup(opts)
37 end,
38 },
39 }