.config/nvim/lua/plugins/ui.lua

changeset 1014
b57969db48db
child 1015
21950cadff6b
equal deleted inserted replaced
1013:125540e1a1a7 1014:b57969db48db
1 return {
2 {
3 "nvim-lualine/lualine.nvim",
4 opts = {
5 options = {
6 theme = "auto",
7 icons_enabled = false,
8 section_separators = "",
9 component_separators = "",
10 globalstatus = true
11 },
12 tabline = {
13 lualine_a = { {'buffers', mode = 4} },
14 }
15 }
16 },
17
18 {
19 "lukas-reineke/indent-blankline.nvim",
20 event = "BufReadPost",
21 keys = {
22 {"<leader>ig", "<cmd>IndentBlanklineToggle<cr>"},
23 },
24 opts = {
25 enabled = false,
26 char = "│",
27 filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" },
28 show_trailing_blankline_indent = false,
29 show_current_context = false,
30 },
31 },
32
33 {
34 "echasnovski/mini.indentscope",
35 version = false, -- wait till new 0.7.0 release to put it back on semver
36 event = "BufReadPre",
37 opts = {
38 symbol = "│",
39 -- symbol = "▏",
40 options = { try_as_border = true },
41 draw = {
42 animation = function() return 2 end,
43 },
44 },
45 config = function(_, opts)
46 vim.api.nvim_create_autocmd("FileType", {
47 pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" },
48 callback = function()
49 vim.b.miniindentscope_disable = true
50 end,
51 })
52 require("mini.indentscope").setup(opts)
53 end,
54 },
55 }

mercurial