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

changeset 1116
2d8f07b212e9
parent 1081
59e05e03851d
child 1124
cb981f8aba50
equal deleted inserted replaced
1115:15ca9da8cd59 1116:2d8f07b212e9
2 2
3 -- >> Viewdoc 3 -- >> Viewdoc
4 g.no_viewdoc_abbrev = 1 4 g.no_viewdoc_abbrev = 1
5 g.viewdoc_open = "topleft new" 5 g.viewdoc_open = "topleft new"
6 g.viewdoc_winwidth_max = 100 6 g.viewdoc_winwidth_max = 100
7
8 g.neo_tree_remove_legacy_commands = 1
7 9
8 return { 10 return {
9 { "powerman/vim-plugin-viewdoc", event = "VeryLazy" }, 11 { "powerman/vim-plugin-viewdoc", event = "VeryLazy" },
10 12
11 { 13 {
70 end, 72 end,
71 }) 73 })
72 require("mini.indentscope").setup(opts) 74 require("mini.indentscope").setup(opts)
73 end, 75 end,
74 }, 76 },
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 },
75 } 111 }

mercurial