Tue, 14 Feb 2023 02:39:04 -0600
Add more plain vim plugins
1014 | 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 | }, | |
11 | tabline = { | |
12 | lualine_a = { {'buffers', mode = 4} }, | |
1015 | 13 | }, |
14 | extensions = {"quickfix"}, | |
1014 | 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 | } |