Chris 4 years ago
parent
commit
9f95514651
3 changed files with 22 additions and 0 deletions
  1. 1 0
      README.md
  2. 1 0
      lua/nv-nvimtree/init.lua
  3. 20 0
      vimscript/functions.vim

+ 1 - 0
README.md

@@ -47,6 +47,7 @@ $HOME/.config/nvim/lua/nv-vscode/init.vim
 - formatting using efm server for prettier/eslint
 - snippet support
 - learn what opt is
+- nvimtree dots instead of stars
 
 **LOW PRIORITY**
 - redo barbar highlight groups

+ 1 - 0
lua/nv-nvimtree/init.lua

@@ -9,6 +9,7 @@ let g:nvim_tree_show_icons = {
     \ 'folders': 1,
     \ 'files': 1,
     \ }
+
 "If 0, do not show the icons for one of 'git' 'folder' and 'files'
 "1 by default, notice that if 'files' is 1, it will only display
 "if nvim-web-devicons is installed and on your runtimepath ]]

+ 20 - 0
vimscript/functions.vim

@@ -23,3 +23,23 @@ command! ResetHunk lua require 'nv-utils'.reset_hunk()
 command! ResetBuffer lua require 'nv-utils'.reset_buffer()
 command! PreviewHunk lua require 'nv-utils'.preview_hunk()
 command! BlameLine lua require 'nv-utils'.blame_line()
+
+" TODO this really shouldn't be here
+let g:nvim_tree_icons = {
+    \ 'default': '',
+    \ 'symlink': '',
+    \ 'git': {
+    \   'unstaged': "✗",
+    \   'staged': "✓",
+    \   'unmerged': "",
+    \   'renamed': "➜",
+    \   'untracked': ""
+    \   },
+    \ 'folder': {
+    \   'default': "",
+    \   'open': "",
+    \   'empty': "",
+    \   'empty_open': "",
+    \   'symlink': "",
+    \   }
+    \ }