Sun, 25 Jun 2023 22:40:31 -0500
Yeah, nix isn't for me yet.
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 | ||
1116 | 8 | g.neo_tree_remove_legacy_commands = 1 |
9 | ||
1014 | 10 | return { |
1068 | 11 | { "powerman/vim-plugin-viewdoc", event = "VeryLazy" }, |
1022 | 12 | |
1014 | 13 | { |
14 | "nvim-lualine/lualine.nvim", | |
15 | opts = { | |
16 | options = { | |
17 | theme = "auto", | |
18 | icons_enabled = false, | |
19 | section_separators = "", | |
20 | component_separators = "", | |
21 | }, | |
1045 | 22 | sections = { |
1064 | 23 | lualine_a = { "mode" }, |
24 | lualine_b = { "filename" }, | |
25 | lualine_c = { "diagnostics" }, | |
26 | lualine_x = { "encoding", "fileformat" }, | |
27 | lualine_y = { "filetype" }, | |
28 | lualine_z = { "progress", "location" }, | |
1045 | 29 | }, |
1014 | 30 | tabline = { |
1064 | 31 | lualine_a = { { "buffers", mode = 4, show_filename_only = false } }, |
32 | lualine_z = { "branch" }, | |
1015 | 33 | }, |
1064 | 34 | extensions = { "quickfix" }, |
35 | }, | |
1014 | 36 | }, |
37 | ||
38 | { | |
39 | "lukas-reineke/indent-blankline.nvim", | |
1081
59e05e03851d
unlazy indent-blankline.nvim, weird errors
Meredith Howard <mhoward@roomag.org>
parents:
1068
diff
changeset
|
40 | lazy = false, |
1014 | 41 | keys = { |
1064 | 42 | { "<leader>ig", "<cmd>IndentBlanklineToggle<cr>" }, |
1014 | 43 | }, |
44 | opts = { | |
45 | enabled = false, | |
46 | char = "│", | |
1022 | 47 | -- filetype_exclude = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy" }, |
1014 | 48 | show_trailing_blankline_indent = false, |
49 | show_current_context = false, | |
50 | }, | |
51 | }, | |
52 | ||
53 | { | |
54 | "echasnovski/mini.indentscope", | |
55 | version = false, -- wait till new 0.7.0 release to put it back on semver | |
56 | event = "BufReadPre", | |
57 | opts = { | |
58 | symbol = "│", | |
59 | -- symbol = "▏", | |
60 | options = { try_as_border = true }, | |
61 | draw = { | |
1064 | 62 | animation = function() |
63 | return 2 | |
64 | end, | |
1014 | 65 | }, |
66 | }, | |
67 | config = function(_, opts) | |
68 | vim.api.nvim_create_autocmd("FileType", { | |
69 | pattern = { "help", "alpha", "dashboard", "neo-tree", "Trouble", "lazy", "mason" }, | |
70 | callback = function() | |
71 | vim.b.miniindentscope_disable = true | |
72 | end, | |
73 | }) | |
74 | require("mini.indentscope").setup(opts) | |
75 | end, | |
76 | }, | |
1116 | 77 | { |
78 | "nvim-neo-tree/neo-tree.nvim", | |
79 | branch = "v2.x", | |
80 | cmd = "Neotree", | |
81 | dependencies = { | |
82 | "nvim-lua/plenary.nvim", | |
83 | "MunifTanjim/nui.nvim", | |
84 | { | |
85 | "s1n7ax/nvim-window-picker", | |
86 | config = function(_, _) | |
87 | local theme = require("kanagawa.colors").setup().theme | |
88 | require("window-picker").setup({ | |
89 | use_winbar = "always", | |
90 | fg_color = theme.ui.fg_reverse, | |
91 | current_win_hl_color = theme.syn.constant, | |
92 | other_win_hl_color = theme.syn.fun, | |
93 | }) | |
94 | end, | |
95 | }, | |
96 | }, | |
97 | opts = { | |
98 | enable_git_status = false, | |
99 | window = { mappings = { ["<F2>"] = "close_window" } }, | |
100 | filesystem = { hijack_netrw_behavior = "disabled" }, | |
101 | default_component_configs = { | |
102 | icon = { | |
103 | folder_closed = "▷", | |
104 | folder_open = "▽", | |
105 | folder_empty = "¤", | |
106 | default = "•", | |
107 | }, | |
108 | }, | |
109 | }, | |
110 | }, | |
1014 | 111 | } |