blob: 83326ea6eea8ba10dc00ad7ef27884f3fe94316f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
(import-macros {: setv!} :nvrc.macro.set)
(local {: setup} (require :nvim-tree))
(setv! nvim_tree_add_trailing 0)
(setv! nvim_tree_git_hl 1)
(setv! nvim_tree_highlight_opened_files 0)
(setv! nvim_tree_indent_markers 1)
(setv! nvim_tree_quit_on_open 0)
(setv! nvim_tree_root_folder_modifier
(table.concat {1 ":t:gs?$?/.." 2 (string.rep " " 1000) 3 "?:gs?^??"}))
(setv! nvim_tree_window_picker_exclude
{:filetype {1 :notify 2 :packer 3 :qf} :buftype {1 :terminal}})
(setv! nvim_tree_show_icons {:folders 0 :files 0 :git 0 :folder_arrows 0})
; Nvimtree still shows folder icon despite folders being disabled
; Maybe the nvim_tree_show_icons option isn't really working?
(setv! nvim_tree_symlink_arrow " -> ")
(setv! nvim_tree_icons {:default ""
:symlink "~"
:git {:deleted :x
:ignored "?"
:renamed "->"
:staged "*"
:unmerged "!"
:unstaged "!"
:untracked "!"}
:folder {:default "+"
:empty "?"
:empty_open "-"
:open "-"
:symlink "~"
:symlink_open "~-"}})
(setup {:filters {:dotfiles false}
:disable_netrw true
:hijack_netrw true
:auto_close false
:open_on_tab false
:hijack_cursor true
:update_cwd true
:update_focused_file {:enable true :update_cwd false}
:view {:allow_resize true :side :left :width 25 :hide_root_folder true}
:git {:enable false :ignore false}})
|