]> git.rmz.io Git - dotfiles.git/blob - nvim/lua/plugins/ui.lua
nvim: add orgmode plugin
[dotfiles.git] / nvim / lua / plugins / ui.lua
1 ---@type LazyPluginSpec
2 return {
3 {
4 "nvim-notify",
5 },
6 {
7 "bufferline.nvim",
8 ---@type BufferlineConfig
9 opts = {
10 options = {
11 always_show_bufferline = false,
12 },
13 },
14 },
15 {
16 "noice.nvim",
17 enabled = false,
18 ---@type NoiceConfig
19 opts = {
20 presets = {
21 command_palette = false, -- don't position the cmdline and popupmenu together
22 lsp_doc_border = true,
23 long_message_to_split = true,
24 },
25 cmdline = {
26 view = "cmdline",
27 },
28 routes = {
29 { -- send file written messages to mini
30 filter = {
31 event = "msg_show",
32 kind = "",
33 find = "%[w%]",
34 },
35 opts = { skip = true },
36 },
37 },
38 },
39 config = function(_, opts)
40 -- ensure [w] is written to msg_show so we can match it
41 vim.opt.shortmess:append("w")
42 vim.opt.shortmess:remove("W")
43
44 require("noice").setup(opts)
45 end,
46 },
47 {
48 "lualine.nvim",
49 --TODO: Things that were in vim but are missing
50 -- - git line add/mod/del ar next to branch name rather on right
51 -- - one status line per splits
52 -- - maybe a single one is OK too?
53 -- - I think I want a line stating wihch file is in the split though
54 -- - unix/dos eof markers
55 -- - really I only want to know if it's not unix
56 -- - filetype in text form. It's quite important to glance this quickly
57 },
58 {
59 "indent-blankline.nvim",
60 },
61 {
62 "mini.indentscope",
63 opts = {
64 draw = {
65 animation = require("mini.indentscope").gen_animation.linear({ duration = 10 }),
66 },
67 },
68 },
69 {
70 "nvim-navic",
71 },
72 {
73 "nvim-web-devicons",
74 },
75 {
76 "nui.nvim",
77 },
78 }