Wed, 22 Feb 2023 12:40:24 -0600
add goneovim settings
1022 | 1 | local g = vim.g |
2 | ||
3 | -- >> Viewdoc | |
4 | g.no_viewdoc_abbrev = 1 | |
5 | g.viewdoc_open = "topleft new" | |
6 | g.viewdoc_winwidth_max = 100 | |
7 | ||
1014 | 8 | return { |
1022 | 9 | "powerman/vim-plugin-viewdoc", |
10 | ||
1014 | 11 | { |
12 | "nvim-lualine/lualine.nvim", | |
13 | opts = { | |
14 | options = { | |
15 | theme = "auto", | |
16 | icons_enabled = false, | |
17 | section_separators = "", | |
18 | component_separators = "", | |
19 | }, | |
20 | tabline = { | |
21 | lualine_a = { {'buffers', mode = 4} }, | |
1015 | 22 | }, |
23 | extensions = {"quickfix"}, | |
1014 | 24 | } |
25 | }, | |
26 | ||
27 | { | |
28 | "lukas-reineke/indent-blankline.nvim", | |
29 | event = "BufReadPost", | |
30 | keys = { | |
31 | {"<leader>ig", "<cmd>IndentBlanklineToggle<cr>"}, | |
32 | }, | |
33 | opts = { | |
34 | enabled = false, | |
35 | char = "│", | |
1022 | 36 | -- filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" }, |
1014 | 37 | show_trailing_blankline_indent = false, |
38 | show_current_context = false, | |
39 | }, | |
40 | }, | |
41 | ||
42 | { | |
43 | "echasnovski/mini.indentscope", | |
44 | version = false, -- wait till new 0.7.0 release to put it back on semver | |
45 | event = "BufReadPre", | |
46 | opts = { | |
47 | symbol = "│", | |
48 | -- symbol = "▏", | |
49 | options = { try_as_border = true }, | |
50 | draw = { | |
51 | animation = function() return 2 end, | |
52 | }, | |
53 | }, | |
54 | config = function(_, opts) | |
55 | vim.api.nvim_create_autocmd("FileType", { | |
56 | pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, | |
57 | callback = function() | |
58 | vim.b.miniindentscope_disable = true | |
59 | end, | |
60 | }) | |
61 | require("mini.indentscope").setup(opts) | |
62 | end, | |
63 | }, | |
64 | } |